Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-10 23:59:02.950957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg', 2), ('/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg', 2), ('/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg', 2), ('/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg', 2), ('/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg', 2), ('/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg', '/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg', '/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg', '/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg', '/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg', '/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg', '/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg
/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg
/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg
/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg
/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg
/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg
uploaded 0 photos
time to upload: 30.35624098777771 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:00:02.929976
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg', 2), ('/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg', 2), ('/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg', 2), ('/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg', 2), ('/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg', 2), ('/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg', '/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg', '/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg', '/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg', '/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg', '/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg', '/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg
/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg
/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg
/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg
/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg
/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 149.60688304901123 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:03:02.898647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg', 2), ('/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg', 2), ('/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg', 2), ('/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg', 2), ('/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg', 2), ('/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg', '/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg', '/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg', '/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg', '/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg', '/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg', '/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg
/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg
/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg
/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg
/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg
/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 140.18571066856384 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:06:03.255364
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg', 2), ('/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg', 2), ('/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg', 2), ('/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg', 2), ('/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg', 2), ('/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg', '/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg', '/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg', '/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg', '/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg', '/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg', '/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/23/image_16062025_20_23_24_9951.jpg
/mnt/data/16062025/20/23/image_16062025_20_23_15_10100.jpg
/mnt/data/16062025/20/22/image_16062025_20_23_04_10645.jpg
/mnt/data/16062025/20/22/image_16062025_20_22_54_9949.jpg
/mnt/data/16062025/20/21/image_16062025_20_21_44_9935.jpg
/mnt/data/16062025/20/21/image_16062025_20_21_34_9949.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376358862","1376358757","1376358844","1376358826","1376358876","1376358792"],"photo_ids_order":["1376358757","1376358792","1376358826","1376358844","1376358862","1376358876"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b362cd5cdeb6cb611b23ec69b58d0d03.jpg","text":"TemporaryFile(/tmp/multipartBody1359969112746489244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863641377,"filename":"image_16062025_20_21_44_9935.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6209d00f8586486990e989d9a3d2ac29.jpg","text":"TemporaryFile(/tmp/multipartBody671911672002864108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863641377,"filename":"image_16062025_20_23_24_9951.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4ba27d3c4807cbdc5d271d290ab48966.jpg","text":"TemporaryFile(/tmp/multipartBody2692135508806306332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863641377,"filename":"image_16062025_20_22_54_9949.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/24034e737b884bcdb0299db5fb03d1b5.jpg","text":"TemporaryFile(/tmp/multipartBody4094922990685144561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863641377,"filename":"image_16062025_20_23_04_10645.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5d6f3a400e3da70f32dc6a25813ce023.jpg","text":"TemporaryFile(/tmp/multipartBody1825108446751465308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863641377,"filename":"image_16062025_20_21_34_9949.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a772652a0e2896951a95e03f68bb8b71.jpg","text":"TemporaryFile(/tmp/multipartBody8171558881232637248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863641377,"filename":"image_16062025_20_23_15_10100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376358826","file1":"1376358792","file0":"1376358757","file4":"1376358862","file5":"1376358876","file3":"1376358844"},"map_files_photo_id_array":[{"photo_id":"1376358876","filename":"file5"},{"photo_id":"1376358826","filename":"file2"},{"photo_id":"1376358862","filename":"file4"},{"photo_id":"1376358792","filename":"file1"},{"photo_id":"1376358757","filename":"file0"},{"photo_id":"1376358844","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376358862":["hashtag1","hashtag2"]},{"1376358757":["hashtag1","hashtag2"]},{"1376358844":["hashtag1","hashtag2"]},{"1376358826":["hashtag1","hashtag2"]},{"1376358876":["hashtag1","hashtag2"]},{"1376358792":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376358862, 1376358757, 1376358844, 1376358826, 1376358876, 1376358792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.22743344306946 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:07:02.793402
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/21/image_16062025_20_21_24_10038.jpg', 2), ('/mnt/data/16062025/20/21/image_16062025_20_21_14_10238.jpg', 2), ('/mnt/data/16062025/20/20/image_16062025_20_21_04_10295.jpg', 2), ('/mnt/data/16062025/20/20/image_16062025_20_20_54_9978.jpg', 2), ('/mnt/data/16062025/20/19/image_16062025_20_19_44_9971.jpg', 2), ('/mnt/data/16062025/20/19/image_16062025_20_19_34_9981.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/21/image_16062025_20_21_24_10038.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_14_10238.jpg', '/mnt/data/16062025/20/20/image_16062025_20_21_04_10295.jpg', '/mnt/data/16062025/20/20/image_16062025_20_20_54_9978.jpg', '/mnt/data/16062025/20/19/image_16062025_20_19_44_9971.jpg', '/mnt/data/16062025/20/19/image_16062025_20_19_34_9981.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/21/image_16062025_20_21_24_10038.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_14_10238.jpg', '/mnt/data/16062025/20/20/image_16062025_20_21_04_10295.jpg', '/mnt/data/16062025/20/20/image_16062025_20_20_54_9978.jpg', '/mnt/data/16062025/20/19/image_16062025_20_19_44_9971.jpg', '/mnt/data/16062025/20/19/image_16062025_20_19_34_9981.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/21/image_16062025_20_21_24_10038.jpg
/mnt/data/16062025/20/21/image_16062025_20_21_14_10238.jpg
/mnt/data/16062025/20/20/image_16062025_20_21_04_10295.jpg
/mnt/data/16062025/20/20/image_16062025_20_20_54_9978.jpg
/mnt/data/16062025/20/19/image_16062025_20_19_44_9971.jpg
/mnt/data/16062025/20/19/image_16062025_20_19_34_9981.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376359198","1376359147","1376359098","1376359233","1376359286","1376359274"],"photo_ids_order":["1376359098","1376359147","1376359198","1376359233","1376359274","1376359286"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ace740f67d0bc0232f3fbf3a754e3a67.jpg","text":"TemporaryFile(/tmp/multipartBody7739039574926467089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863708940,"filename":"image_16062025_20_21_04_10295.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3e8cc771c3f384da22062ada47caa222.jpg","text":"TemporaryFile(/tmp/multipartBody7882730603670193771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863708940,"filename":"image_16062025_20_21_14_10238.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c01b6ac82b5b1cf9f0566d8128afb225.jpg","text":"TemporaryFile(/tmp/multipartBody4738274152757155338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863708940,"filename":"image_16062025_20_21_24_10038.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f3d083774e5c17de17f1f3adab41c7e7.jpg","text":"TemporaryFile(/tmp/multipartBody8946899565526215199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863708940,"filename":"image_16062025_20_20_54_9978.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d3041216323cbd06ef6db324e23c8dc7.jpg","text":"TemporaryFile(/tmp/multipartBody1634330571022687720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863708940,"filename":"image_16062025_20_19_34_9981.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1e1267a72fdce60f2f1591c381b798dd.jpg","text":"TemporaryFile(/tmp/multipartBody9207381773215687787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863708940,"filename":"image_16062025_20_19_44_9971.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376359198","file1":"1376359147","file0":"1376359098","file4":"1376359274","file5":"1376359286","file3":"1376359233"},"map_files_photo_id_array":[{"photo_id":"1376359286","filename":"file5"},{"photo_id":"1376359198","filename":"file2"},{"photo_id":"1376359274","filename":"file4"},{"photo_id":"1376359147","filename":"file1"},{"photo_id":"1376359098","filename":"file0"},{"photo_id":"1376359233","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376359198":["hashtag1","hashtag2"]},{"1376359147":["hashtag1","hashtag2"]},{"1376359098":["hashtag1","hashtag2"]},{"1376359233":["hashtag1","hashtag2"]},{"1376359286":["hashtag1","hashtag2"]},{"1376359274":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376359198, 1376359147, 1376359098, 1376359233, 1376359286, 1376359274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.14445066452026 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:09:02.798356
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_11082025
 fc.token : 85213b338a7900a79945692114f14db2
True
533
3493612
533
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/00/07/image_11082025_00_08_04_9464.jpg', 2)]
{'portfolio_id': 25860217, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1754863803000}
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/00/07/image_11082025_00_08_04_9464.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/00/07/image_11082025_00_08_04_9464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/00/07/image_11082025_00_08_04_9464.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376359607"],"photo_id":"1376359607","photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/29e9eda16e5d9204a3b03f4e7ea50dd7.jpg","text":"TemporaryFile(/tmp/multipartBody1702272423792760452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863812885,"filename":"image_11082025_00_08_04_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1376359607"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1376359607"}],"hashtags":[],"portfolio_id":"25860217","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 24.87326955795288 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:10:02.339749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/19/image_16062025_20_19_24_9997.jpg', 2), ('/mnt/data/16062025/20/19/image_16062025_20_19_14_9982.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_19_04_9103.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_18_55_10011.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_18_45_9953.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_18_35_9983.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/19/image_16062025_20_19_24_9997.jpg', '/mnt/data/16062025/20/19/image_16062025_20_19_14_9982.jpg', '/mnt/data/16062025/20/18/image_16062025_20_19_04_9103.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_55_10011.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_45_9953.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_35_9983.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/19/image_16062025_20_19_24_9997.jpg', '/mnt/data/16062025/20/19/image_16062025_20_19_14_9982.jpg', '/mnt/data/16062025/20/18/image_16062025_20_19_04_9103.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_55_10011.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_45_9953.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_35_9983.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/19/image_16062025_20_19_24_9997.jpg
/mnt/data/16062025/20/19/image_16062025_20_19_14_9982.jpg
/mnt/data/16062025/20/18/image_16062025_20_19_04_9103.jpg
/mnt/data/16062025/20/18/image_16062025_20_18_55_10011.jpg
/mnt/data/16062025/20/18/image_16062025_20_18_45_9953.jpg
/mnt/data/16062025/20/18/image_16062025_20_18_35_9983.jpg
uploaded 0 photos
time to upload: 30.360403299331665 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:11:03.082484
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/19/image_16062025_20_19_24_9997.jpg', 2), ('/mnt/data/16062025/20/19/image_16062025_20_19_14_9982.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_19_04_9103.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_18_55_10011.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_18_45_9953.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_18_35_9983.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/19/image_16062025_20_19_24_9997.jpg', '/mnt/data/16062025/20/19/image_16062025_20_19_14_9982.jpg', '/mnt/data/16062025/20/18/image_16062025_20_19_04_9103.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_55_10011.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_45_9953.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_35_9983.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/19/image_16062025_20_19_24_9997.jpg', '/mnt/data/16062025/20/19/image_16062025_20_19_14_9982.jpg', '/mnt/data/16062025/20/18/image_16062025_20_19_04_9103.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_55_10011.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_45_9953.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_35_9983.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/19/image_16062025_20_19_24_9997.jpg
/mnt/data/16062025/20/19/image_16062025_20_19_14_9982.jpg
/mnt/data/16062025/20/18/image_16062025_20_19_04_9103.jpg
/mnt/data/16062025/20/18/image_16062025_20_18_55_10011.jpg
/mnt/data/16062025/20/18/image_16062025_20_18_45_9953.jpg
/mnt/data/16062025/20/18/image_16062025_20_18_35_9983.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376360128","1376360166","1376360097","1376360177","1376360066","1376360147"],"photo_ids_order":["1376360066","1376360097","1376360128","1376360147","1376360166","1376360177"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/56f4893b20295b337807eb79d40c7e20.jpg","text":"TemporaryFile(/tmp/multipartBody8135321795134621333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863947985,"filename":"image_16062025_20_19_04_9103.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2ec256d85df4cade8fd2a93050a70bd6.jpg","text":"TemporaryFile(/tmp/multipartBody5569854996807107207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863947985,"filename":"image_16062025_20_18_45_9953.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bdc523cf71e0b8324eb40f5ec416974a.jpg","text":"TemporaryFile(/tmp/multipartBody2803869637737693846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863947985,"filename":"image_16062025_20_19_14_9982.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2eb58635db5affe7798b240d73a06c44.jpg","text":"TemporaryFile(/tmp/multipartBody813634122445201895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863947985,"filename":"image_16062025_20_18_35_9983.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2975b2dda7677e622097f5287afd179c.jpg","text":"TemporaryFile(/tmp/multipartBody6920070272020932811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863947985,"filename":"image_16062025_20_19_24_9997.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/11f043f9f70325248a932a42d70d8f6e.jpg","text":"TemporaryFile(/tmp/multipartBody21497760703321160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754863947985,"filename":"image_16062025_20_18_55_10011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376360128","file1":"1376360097","file0":"1376360066","file4":"1376360166","file5":"1376360177","file3":"1376360147"},"map_files_photo_id_array":[{"photo_id":"1376360177","filename":"file5"},{"photo_id":"1376360128","filename":"file2"},{"photo_id":"1376360166","filename":"file4"},{"photo_id":"1376360097","filename":"file1"},{"photo_id":"1376360066","filename":"file0"},{"photo_id":"1376360147","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376360128":["hashtag1","hashtag2"]},{"1376360166":["hashtag1","hashtag2"]},{"1376360097":["hashtag1","hashtag2"]},{"1376360177":["hashtag1","hashtag2"]},{"1376360066":["hashtag1","hashtag2"]},{"1376360147":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376360128, 1376360166, 1376360097, 1376360177, 1376360066, 1376360147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.959460496902466 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:13:02.746938
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/00/00/image_11082025_00_00_15_10666.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/00/00/image_11082025_00_00_15_10666.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/00/00/image_11082025_00_00_15_10666.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/00/00/image_11082025_00_00_15_10666.jpg
uploaded 0 photos
time to upload: 30.232889413833618 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:14:03.271500
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/00/00/image_11082025_00_00_15_10666.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/00/00/image_11082025_00_00_15_10666.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/00/00/image_11082025_00_00_15_10666.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/00/00/image_11082025_00_00_15_10666.jpg
uploaded 0 photos
time to upload: 30.202069759368896 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:15:02.980299
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/00/00/image_11082025_00_00_15_10666.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/00/00/image_11082025_00_00_15_10666.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/00/00/image_11082025_00_00_15_10666.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/00/00/image_11082025_00_00_15_10666.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376361072"],"photo_id":"1376361072","photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/de85c9ee4d9e0d993bd15bd68fa63db6.jpg","text":"TemporaryFile(/tmp/multipartBody567488740317976281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754864177663,"filename":"image_11082025_00_00_15_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1376361072"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1376361072"}],"hashtags":[],"portfolio_id":"25860217","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 27.961955070495605 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:16:03.129535
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/18/image_16062025_20_18_25_9960.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_18_15_10109.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_18_05_10222.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_54_10019.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_44_10013.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_34_10014.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/18/image_16062025_20_18_25_9960.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_15_10109.jpg', '/mnt/data/16062025/20/17/image_16062025_20_18_05_10222.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_54_10019.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_44_10013.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_34_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/18/image_16062025_20_18_25_9960.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_15_10109.jpg', '/mnt/data/16062025/20/17/image_16062025_20_18_05_10222.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_54_10019.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_44_10013.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_34_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/18/image_16062025_20_18_25_9960.jpg
/mnt/data/16062025/20/18/image_16062025_20_18_15_10109.jpg
/mnt/data/16062025/20/17/image_16062025_20_18_05_10222.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_54_10019.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_44_10013.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_34_10014.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 20.160722970962524 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:17:03.088696
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/00/17/image_11082025_00_17_14_9101.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/00/17/image_11082025_00_17_14_9101.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/00/17/image_11082025_00_17_14_9101.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/00/17/image_11082025_00_17_14_9101.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376361771"],"photo_id":"1376361771","photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f0b9b3aa92aa721acf2267da786b8983.jpg","text":"TemporaryFile(/tmp/multipartBody4122350951620151339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754864287279,"filename":"image_11082025_00_17_14_9101.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1376361771"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1376361771"}],"hashtags":[],"portfolio_id":"25860217","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.770368099212646 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:18:02.173927
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/18/image_16062025_20_18_25_9960.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_18_15_10109.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_18_05_10222.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_54_10019.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_44_10013.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_34_10014.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/18/image_16062025_20_18_25_9960.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_15_10109.jpg', '/mnt/data/16062025/20/17/image_16062025_20_18_05_10222.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_54_10019.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_44_10013.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_34_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/18/image_16062025_20_18_25_9960.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_15_10109.jpg', '/mnt/data/16062025/20/17/image_16062025_20_18_05_10222.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_54_10019.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_44_10013.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_34_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/18/image_16062025_20_18_25_9960.jpg
/mnt/data/16062025/20/18/image_16062025_20_18_15_10109.jpg
/mnt/data/16062025/20/17/image_16062025_20_18_05_10222.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_54_10019.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_44_10013.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_34_10014.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376362098","1376362050","1376362032","1376362020","1376362063","1376362048"],"photo_ids_order":["1376362020","1376362032","1376362048","1376362050","1376362063","1376362098"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f84aba6a907fe3ba9da79db0125389aa.jpg","text":"TemporaryFile(/tmp/multipartBody7024907039734320467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754864349436,"filename":"image_16062025_20_17_34_10014.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6d9627a414ffdb6fe6123aa6db520452.jpg","text":"TemporaryFile(/tmp/multipartBody1606835453880919151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754864349436,"filename":"image_16062025_20_17_54_10019.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/725c5e5f343e709a5e363366a67f634f.jpg","text":"TemporaryFile(/tmp/multipartBody5462159769086900157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754864349436,"filename":"image_16062025_20_18_15_10109.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6d661b58e3a459e37d5f8f71bf1b9d2f.jpg","text":"TemporaryFile(/tmp/multipartBody8330692767560732263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754864349436,"filename":"image_16062025_20_18_25_9960.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/564ec292a44956753774902e8453c029.jpg","text":"TemporaryFile(/tmp/multipartBody6223722409439490373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754864349436,"filename":"image_16062025_20_17_44_10013.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c6fc97d51193b1db6dd398e560497e98.jpg","text":"TemporaryFile(/tmp/multipartBody5255830050900297493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754864349436,"filename":"image_16062025_20_18_05_10222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376362048","file1":"1376362032","file0":"1376362020","file4":"1376362063","file5":"1376362098","file3":"1376362050"},"map_files_photo_id_array":[{"photo_id":"1376362098","filename":"file5"},{"photo_id":"1376362048","filename":"file2"},{"photo_id":"1376362063","filename":"file4"},{"photo_id":"1376362032","filename":"file1"},{"photo_id":"1376362020","filename":"file0"},{"photo_id":"1376362050","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376362098":["hashtag1","hashtag2"]},{"1376362050":["hashtag1","hashtag2"]},{"1376362032":["hashtag1","hashtag2"]},{"1376362020":["hashtag1","hashtag2"]},{"1376362063":["hashtag1","hashtag2"]},{"1376362048":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376362098, 1376362050, 1376362032, 1376362020, 1376362063, 1376362048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.50532793998718 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:19:03.390802
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg
/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg
uploaded 0 photos
time to upload: 30.369107007980347 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:20:02.698458
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg
/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 25.273261785507202 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:21:02.411978
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg
/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg
uploaded 0 photos
time to upload: 30.312002182006836 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:22:02.387043
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg
/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 145.81841254234314 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:25:02.557328
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg
/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg
uploaded 0 photos
time to upload: 30.32212257385254 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:26:03.736714
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg
/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg
uploaded 0 photos
time to upload: 33.363425970077515 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:27:03.004190
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/00/26/image_11082025_00_26_25_10223.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/00/26/image_11082025_00_26_25_10223.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/00/26/image_11082025_00_26_25_10223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/00/26/image_11082025_00_26_25_10223.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376363839"],"photo_id":"1376363839","photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8b8cad48cf5691b0d1cdda8f813c0cab.jpg","text":"TemporaryFile(/tmp/multipartBody6211967496206248160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754864888328,"filename":"image_11082025_00_26_25_10223.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1376363839"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1376363839"}],"hashtags":[],"portfolio_id":"25860217","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.760932207107544 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:28:02.444255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg
/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg
uploaded 0 photos
time to upload: 30.303760528564453 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:29:03.384670
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg
/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376364632","1376364701","1376364667","1376364808","1376364765","1376364732"],"photo_ids_order":["1376364632","1376364667","1376364701","1376364732","1376364765","1376364808"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b3206d86b8ccd498f05834cd0765698b.jpg","text":"TemporaryFile(/tmp/multipartBody5710280126987602403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865023337,"filename":"image_16062025_20_17_24_10192.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1927fae1dfaec394ea8a07174f35517d.jpg","text":"TemporaryFile(/tmp/multipartBody7913878490592574251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865023337,"filename":"image_16062025_20_17_04_10338.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d912da6809017c816a2e47097833b37d.jpg","text":"TemporaryFile(/tmp/multipartBody4371014060481001431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865023337,"filename":"image_16062025_20_17_14_10132.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3e658a84cded2cc4fc176b0db853bcd5.jpg","text":"TemporaryFile(/tmp/multipartBody1853796044985637457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865023337,"filename":"image_16062025_20_16_35_10230.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/476a3f8b35db18921fdddb41eba37d1c.jpg","text":"TemporaryFile(/tmp/multipartBody1495083535013075227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865023337,"filename":"image_16062025_20_16_45_10168.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6fb807853290c49489377ebb48d67861.jpg","text":"TemporaryFile(/tmp/multipartBody7267602910587060255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865023337,"filename":"image_16062025_20_16_54_8959.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376364701","file1":"1376364667","file0":"1376364632","file4":"1376364765","file5":"1376364808","file3":"1376364732"},"map_files_photo_id_array":[{"photo_id":"1376364808","filename":"file5"},{"photo_id":"1376364701","filename":"file2"},{"photo_id":"1376364765","filename":"file4"},{"photo_id":"1376364667","filename":"file1"},{"photo_id":"1376364632","filename":"file0"},{"photo_id":"1376364732","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376364632":["hashtag1","hashtag2"]},{"1376364701":["hashtag1","hashtag2"]},{"1376364667":["hashtag1","hashtag2"]},{"1376364808":["hashtag1","hashtag2"]},{"1376364765":["hashtag1","hashtag2"]},{"1376364732":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376364632, 1376364701, 1376364667, 1376364808, 1376364765, 1376364732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.568498611450195 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:31:03.114033
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', '/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', '/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg
/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg
uploaded 0 photos
time to upload: 30.373941898345947 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:32:02.566726
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', '/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', '/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg
/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg
uploaded 0 photos
time to upload: 31.937232732772827 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:33:02.555103
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', '/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', '/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg
/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 141.1253743171692 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:36:02.330750
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/00/35/image_11082025_00_35_35_10223.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/00/35/image_11082025_00_35_35_10223.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/00/35/image_11082025_00_35_35_10223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/00/35/image_11082025_00_35_35_10223.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376367709"],"photo_id":"1376367709","photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8ef81de4ce3a313741972b0834cd96e9.jpg","text":"TemporaryFile(/tmp/multipartBody7715544459288442410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865430257,"filename":"image_11082025_00_35_35_10223.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1376367709"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1376367709"}],"hashtags":[],"portfolio_id":"25860217","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.772073984146118 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:37:03.233273
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', '/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', '/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg
/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376368563","1376368452","1376368533","1376368499","1376368595","1376368418"],"photo_ids_order":["1376368418","1376368452","1376368499","1376368533","1376368563","1376368595"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dc6119e27ddbcadb060c2cc38c4fc98d.jpg","text":"TemporaryFile(/tmp/multipartBody8013439508507462158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865506844,"filename":"image_16062025_20_15_44_8890.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4d2dc9061c3be2dc722a89069a5a80ed.jpg","text":"TemporaryFile(/tmp/multipartBody6389119895116444305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865506844,"filename":"image_16062025_20_16_14_10151.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/32869a2180962ea9b4f15f3b0aaa21db.jpg","text":"TemporaryFile(/tmp/multipartBody4633785789705559833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865506844,"filename":"image_16062025_20_15_54_10077.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d9600772a01f1298a25d52e06f6aed59.jpg","text":"TemporaryFile(/tmp/multipartBody8655951222884320084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865506844,"filename":"image_16062025_20_16_04_10345.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/03877a1b590b81e1dfad22ab705ac79a.jpg","text":"TemporaryFile(/tmp/multipartBody1192540487744475955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865506844,"filename":"image_16062025_20_15_35_9997.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f82aae3ac5cfe00e1f339d72757efb87.jpg","text":"TemporaryFile(/tmp/multipartBody6623151658413873062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865506844,"filename":"image_16062025_20_16_24_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376368499","file1":"1376368452","file0":"1376368418","file4":"1376368563","file5":"1376368595","file3":"1376368533"},"map_files_photo_id_array":[{"photo_id":"1376368595","filename":"file5"},{"photo_id":"1376368499","filename":"file2"},{"photo_id":"1376368563","filename":"file4"},{"photo_id":"1376368452","filename":"file1"},{"photo_id":"1376368418","filename":"file0"},{"photo_id":"1376368533","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376368563":["hashtag1","hashtag2"]},{"1376368452":["hashtag1","hashtag2"]},{"1376368533":["hashtag1","hashtag2"]},{"1376368499":["hashtag1","hashtag2"]},{"1376368595":["hashtag1","hashtag2"]},{"1376368418":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376368563, 1376368452, 1376368533, 1376368499, 1376368595, 1376368418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.88001108169556 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:39:03.442182
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/15/image_16062025_20_15_25_10095.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_15_9995.jpg', 2), ('/mnt/data/16062025/20/14/image_16062025_20_15_05_10068.jpg', 2), ('/mnt/data/16062025/20/14/image_16062025_20_14_55_10000.jpg', 2), ('/mnt/data/16062025/20/14/image_16062025_20_14_45_10011.jpg', 2), ('/mnt/data/16062025/20/14/image_16062025_20_14_35_10036.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/15/image_16062025_20_15_25_10095.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_15_9995.jpg', '/mnt/data/16062025/20/14/image_16062025_20_15_05_10068.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_55_10000.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_45_10011.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_35_10036.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/15/image_16062025_20_15_25_10095.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_15_9995.jpg', '/mnt/data/16062025/20/14/image_16062025_20_15_05_10068.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_55_10000.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_45_10011.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_35_10036.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/15/image_16062025_20_15_25_10095.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_15_9995.jpg
/mnt/data/16062025/20/14/image_16062025_20_15_05_10068.jpg
/mnt/data/16062025/20/14/image_16062025_20_14_55_10000.jpg
/mnt/data/16062025/20/14/image_16062025_20_14_45_10011.jpg
/mnt/data/16062025/20/14/image_16062025_20_14_35_10036.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376368711","1376368716","1376368715","1376368706","1376368709","1376368714"],"photo_ids_order":["1376368706","1376368709","1376368711","1376368714","1376368715","1376368716"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e908690dc4ce620665ad3bdb1587872e.jpg","text":"TemporaryFile(/tmp/multipartBody7998903643234568737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865618222,"filename":"image_16062025_20_15_05_10068.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/676459e45b7377d8fbbbae79494c3771.jpg","text":"TemporaryFile(/tmp/multipartBody5288453330972837179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865618222,"filename":"image_16062025_20_14_35_10036.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bdb22f8e987bedc2dff79f29e8a5667a.jpg","text":"TemporaryFile(/tmp/multipartBody713380159552309476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865618222,"filename":"image_16062025_20_14_45_10011.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/098c377f126d789a7c0224b1f6d12798.jpg","text":"TemporaryFile(/tmp/multipartBody903466555257089581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865618222,"filename":"image_16062025_20_15_25_10095.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b49ae8bc2027b97f5cdbd70965619c11.jpg","text":"TemporaryFile(/tmp/multipartBody621318697905590090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865618222,"filename":"image_16062025_20_15_15_9995.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b4d3756ecfcaf1d29f74b4577a9ef869.jpg","text":"TemporaryFile(/tmp/multipartBody3105328174125277264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865618222,"filename":"image_16062025_20_14_55_10000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376368711","file1":"1376368709","file0":"1376368706","file4":"1376368715","file5":"1376368716","file3":"1376368714"},"map_files_photo_id_array":[{"photo_id":"1376368716","filename":"file5"},{"photo_id":"1376368711","filename":"file2"},{"photo_id":"1376368715","filename":"file4"},{"photo_id":"1376368709","filename":"file1"},{"photo_id":"1376368706","filename":"file0"},{"photo_id":"1376368714","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376368711":["hashtag1","hashtag2"]},{"1376368716":["hashtag1","hashtag2"]},{"1376368715":["hashtag1","hashtag2"]},{"1376368706":["hashtag1","hashtag2"]},{"1376368709":["hashtag1","hashtag2"]},{"1376368714":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376368711, 1376368716, 1376368715, 1376368706, 1376368709, 1376368714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.43884515762329 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:40:02.719252
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/14/image_16062025_20_14_25_10033.jpg', 2), ('/mnt/data/16062025/20/14/image_16062025_20_14_15_9977.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_14_05_10282.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_13_54_10004.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_13_44_9964.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_13_34_9961.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/14/image_16062025_20_14_25_10033.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_15_9977.jpg', '/mnt/data/16062025/20/13/image_16062025_20_14_05_10282.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_54_10004.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_44_9964.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_34_9961.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/14/image_16062025_20_14_25_10033.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_15_9977.jpg', '/mnt/data/16062025/20/13/image_16062025_20_14_05_10282.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_54_10004.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_44_9964.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_34_9961.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/14/image_16062025_20_14_25_10033.jpg
/mnt/data/16062025/20/14/image_16062025_20_14_15_9977.jpg
/mnt/data/16062025/20/13/image_16062025_20_14_05_10282.jpg
/mnt/data/16062025/20/13/image_16062025_20_13_54_10004.jpg
/mnt/data/16062025/20/13/image_16062025_20_13_44_9964.jpg
/mnt/data/16062025/20/13/image_16062025_20_13_34_9961.jpg
uploaded 0 photos
time to upload: 30.36521029472351 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:41:02.500077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/14/image_16062025_20_14_25_10033.jpg', 2), ('/mnt/data/16062025/20/14/image_16062025_20_14_15_9977.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_14_05_10282.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_13_54_10004.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_13_44_9964.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_13_34_9961.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/14/image_16062025_20_14_25_10033.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_15_9977.jpg', '/mnt/data/16062025/20/13/image_16062025_20_14_05_10282.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_54_10004.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_44_9964.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_34_9961.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/14/image_16062025_20_14_25_10033.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_15_9977.jpg', '/mnt/data/16062025/20/13/image_16062025_20_14_05_10282.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_54_10004.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_44_9964.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_34_9961.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/14/image_16062025_20_14_25_10033.jpg
/mnt/data/16062025/20/14/image_16062025_20_14_15_9977.jpg
/mnt/data/16062025/20/13/image_16062025_20_14_05_10282.jpg
/mnt/data/16062025/20/13/image_16062025_20_13_54_10004.jpg
/mnt/data/16062025/20/13/image_16062025_20_13_44_9964.jpg
/mnt/data/16062025/20/13/image_16062025_20_13_34_9961.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376368752","1376368754","1376368748","1376368757","1376368759","1376368750"],"photo_ids_order":["1376368748","1376368750","1376368752","1376368754","1376368757","1376368759"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c7ca2e245859c9e62fb604fdcd420e70.jpg","text":"TemporaryFile(/tmp/multipartBody3759440103487898674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865734937,"filename":"image_16062025_20_14_05_10282.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/86f0b1d998d0c2b71d51d7c477cfc027.jpg","text":"TemporaryFile(/tmp/multipartBody3724012169247260750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865734937,"filename":"image_16062025_20_13_54_10004.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/90a148624f44cbf70ee3b81fb8d8e238.jpg","text":"TemporaryFile(/tmp/multipartBody7398371220463430401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865734937,"filename":"image_16062025_20_14_25_10033.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/39d5852bfc6da7a5fce92b4004df00ff.jpg","text":"TemporaryFile(/tmp/multipartBody7651680888068433172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865734937,"filename":"image_16062025_20_13_44_9964.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/90fdb8948043691173ab330730086e58.jpg","text":"TemporaryFile(/tmp/multipartBody2368417744316265549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865734937,"filename":"image_16062025_20_13_34_9961.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/29a64276b4b63ad72b5b23b6e4bf7a1e.jpg","text":"TemporaryFile(/tmp/multipartBody243665299486763943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865734937,"filename":"image_16062025_20_14_15_9977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376368752","file1":"1376368750","file0":"1376368748","file4":"1376368757","file5":"1376368759","file3":"1376368754"},"map_files_photo_id_array":[{"photo_id":"1376368759","filename":"file5"},{"photo_id":"1376368752","filename":"file2"},{"photo_id":"1376368757","filename":"file4"},{"photo_id":"1376368750","filename":"file1"},{"photo_id":"1376368748","filename":"file0"},{"photo_id":"1376368754","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376368752":["hashtag1","hashtag2"]},{"1376368754":["hashtag1","hashtag2"]},{"1376368748":["hashtag1","hashtag2"]},{"1376368757":["hashtag1","hashtag2"]},{"1376368759":["hashtag1","hashtag2"]},{"1376368750":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376368752, 1376368754, 1376368748, 1376368757, 1376368759, 1376368750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.04374885559082 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:42:02.632868
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg', 2), ('/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg', 2), ('/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg', '/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg', '/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg', '/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg', '/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg
/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg
/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg
/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg
uploaded 0 photos
time to upload: 32.29523730278015 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:43:02.916536
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg', 2), ('/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg', 2), ('/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg', '/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg', '/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg', '/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg', '/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg
/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg
/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg
/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg
uploaded 0 photos
time to upload: 30.295493364334106 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:44:03.062441
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg', 2), ('/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg', 2), ('/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg', '/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg', '/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg', '/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg', '/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg
/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg
/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg
/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg
uploaded 0 photos
time to upload: 30.38559889793396 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:45:02.823352
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/00/44/image_11082025_00_44_44_10277.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/00/44/image_11082025_00_44_44_10277.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/00/44/image_11082025_00_44_44_10277.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/00/44/image_11082025_00_44_44_10277.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376368812"],"photo_id":"1376368812","photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6a4317ed470907847d91b5e04876b418.jpg","text":"TemporaryFile(/tmp/multipartBody6824751557200724766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754865968292,"filename":"image_11082025_00_44_44_10277.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1376368812"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1376368812"}],"hashtags":[],"portfolio_id":"25860217","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 19.39578342437744 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:46:03.002077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg', 2), ('/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg', 2), ('/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg', '/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg', '/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg', '/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg', '/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/13/image_16062025_20_13_24_9954.jpg
/mnt/data/16062025/20/13/image_16062025_20_13_14_9979.jpg
/mnt/data/16062025/20/12/image_16062025_20_13_04_10025.jpg
/mnt/data/16062025/20/12/image_16062025_20_12_54_9986.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376368836","1376368839","1376368838","1376368831","1376368840","1376368834"],"photo_ids_order":["1376368831","1376368834","1376368836","1376368838","1376368839","1376368840"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b9a14232740d3bebb1e8ee5eb5eca759.jpg","text":"TemporaryFile(/tmp/multipartBody8712512727273874944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866037713,"filename":"image_16062025_20_13_04_10025.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d0ad8a8eddedba25a78208deadcdbcb0.jpg","text":"TemporaryFile(/tmp/multipartBody3097913738551380665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866037713,"filename":"image_16062025_20_11_44_10029.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/961044cf50af0c0d074f30258615be08.jpg","text":"TemporaryFile(/tmp/multipartBody4194593355849855347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866037713,"filename":"image_16062025_20_12_54_9986.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ebaf5e0357188ba37ebf0df362d13c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2026932568014163322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866037713,"filename":"image_16062025_20_13_24_9954.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/397a858f33182d939313ab2bef8e0246.jpg","text":"TemporaryFile(/tmp/multipartBody3995060326477812344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866037713,"filename":"image_16062025_20_11_34_9621.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/673396af5c53605c85256747bd210f7d.jpg","text":"TemporaryFile(/tmp/multipartBody416790685143535311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866037713,"filename":"image_16062025_20_13_14_9979.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376368836","file1":"1376368834","file0":"1376368831","file4":"1376368839","file5":"1376368840","file3":"1376368838"},"map_files_photo_id_array":[{"photo_id":"1376368840","filename":"file5"},{"photo_id":"1376368836","filename":"file2"},{"photo_id":"1376368839","filename":"file4"},{"photo_id":"1376368834","filename":"file1"},{"photo_id":"1376368831","filename":"file0"},{"photo_id":"1376368838","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376368836":["hashtag1","hashtag2"]},{"1376368839":["hashtag1","hashtag2"]},{"1376368838":["hashtag1","hashtag2"]},{"1376368831":["hashtag1","hashtag2"]},{"1376368840":["hashtag1","hashtag2"]},{"1376368834":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376368836, 1376368839, 1376368838, 1376368831, 1376368840, 1376368834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.903016328811646 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:47:02.691009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', '/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', '/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg
/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg
uploaded 0 photos
time to upload: 31.077113389968872 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:48:03.221089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', '/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', '/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg
/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg
uploaded 0 photos
time to upload: 30.303016185760498 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:49:03.069860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', '/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', '/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg
/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg
uploaded 0 photos
time to upload: 30.31225562095642 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:50:03.082281
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', '/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', '/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg
/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg
uploaded 0 photos
time to upload: 30.314385890960693 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:51:02.872500
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', '/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', '/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg
/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_44_10019.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_34_9986.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376368935","1376368931","1376368928","1376368925","1376368930","1376368933"],"photo_ids_order":["1376368925","1376368928","1376368930","1376368931","1376368933","1376368935"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b09f3c1b6a58a48cf1474697e1d32b48.jpg","text":"TemporaryFile(/tmp/multipartBody5977186468055883711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866344945,"filename":"image_16062025_20_10_34_9986.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/aa8f311c33e7ce0c8452b4a70a64a7d2.jpg","text":"TemporaryFile(/tmp/multipartBody8404904694777539629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866344945,"filename":"image_16062025_20_10_54_9978.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9dabbf32ab9c4ccaff3d4ff899f724bf.jpg","text":"TemporaryFile(/tmp/multipartBody327025049049614654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866344945,"filename":"image_16062025_20_11_14_10000.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/eccfdf8466d971a82739a1f965abf13b.jpg","text":"TemporaryFile(/tmp/multipartBody8493841494151985441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866344945,"filename":"image_16062025_20_11_24_10049.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e02bfcf8a7d4edf383546bfc1f9b2ef8.jpg","text":"TemporaryFile(/tmp/multipartBody8303563519735266731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866344945,"filename":"image_16062025_20_11_04_10160.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/aa3a3575b997816c2c017234defc2359.jpg","text":"TemporaryFile(/tmp/multipartBody1072443523520246006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866344945,"filename":"image_16062025_20_10_44_10019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376368930","file1":"1376368928","file0":"1376368925","file4":"1376368933","file5":"1376368935","file3":"1376368931"},"map_files_photo_id_array":[{"photo_id":"1376368935","filename":"file5"},{"photo_id":"1376368930","filename":"file2"},{"photo_id":"1376368933","filename":"file4"},{"photo_id":"1376368928","filename":"file1"},{"photo_id":"1376368925","filename":"file0"},{"photo_id":"1376368931","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376368935":["hashtag1","hashtag2"]},{"1376368931":["hashtag1","hashtag2"]},{"1376368928":["hashtag1","hashtag2"]},{"1376368925":["hashtag1","hashtag2"]},{"1376368930":["hashtag1","hashtag2"]},{"1376368933":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376368935, 1376368931, 1376368928, 1376368925, 1376368930, 1376368933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.57623338699341 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:53:02.799582
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg', 2), ('/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg', 2), ('/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg', '/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg', '/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg', '/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg', '/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg
/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg
/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg
uploaded 0 photos
time to upload: 30.384570598602295 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:54:02.934796
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/00/53/image_11082025_00_53_55_10232.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/00/53/image_11082025_00_53_55_10232.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/00/53/image_11082025_00_53_55_10232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/00/53/image_11082025_00_53_55_10232.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 3.470635414123535 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:55:02.499095
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/00/53/image_11082025_00_53_55_10232.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/00/53/image_11082025_00_53_55_10232.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/00/53/image_11082025_00_53_55_10232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/00/53/image_11082025_00_53_55_10232.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376368976"],"photo_id":"1376368976","photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dfb80c1a164843dc6ee9d0d4f6207ceb.jpg","text":"TemporaryFile(/tmp/multipartBody8198625607243574971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866569360,"filename":"image_11082025_00_53_55_10232.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1376368976"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1376368976"}],"hashtags":[],"portfolio_id":"25860217","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.41344141960144 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:56:02.823186
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg', 2), ('/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg', 2), ('/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg', '/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg', '/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg', '/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg', '/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg
/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg
/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg
uploaded 0 photos
time to upload: 30.559476375579834 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:57:02.651689
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg', 2), ('/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg', 2), ('/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg', '/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg', '/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg', '/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg', '/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg
/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg
/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg
uploaded 0 photos
time to upload: 30.303757905960083 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 00:59:03.342184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg', 2), ('/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg', 2), ('/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg', '/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg', '/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg', '/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg', '/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/10/image_16062025_20_10_24_9970.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_14_9965.jpg
/mnt/data/16062025/20/09/image_16062025_20_10_04_10169.jpg
/mnt/data/16062025/20/09/image_16062025_20_09_54_9997.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376371295","1376371481","1376371387","1376371210","1376371240","1376371179"],"photo_ids_order":["1376371179","1376371210","1376371240","1376371295","1376371387","1376371481"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d199b1ec745803efb7cf010cfa4bc48f.jpg","text":"TemporaryFile(/tmp/multipartBody5206142387868868114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866814551,"filename":"image_16062025_20_09_54_9997.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/69476cc7d05628f53e12a4b44ce5d7dd.jpg","text":"TemporaryFile(/tmp/multipartBody3086605674621609434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866814551,"filename":"image_16062025_20_08_34_10030.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bd749a11eacb1c47ea734b66ccc91f27.jpg","text":"TemporaryFile(/tmp/multipartBody5853591890433200025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866814551,"filename":"image_16062025_20_08_44_10026.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/745f57ede388091051b500ef2b451c09.jpg","text":"TemporaryFile(/tmp/multipartBody8652230175476826100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866814551,"filename":"image_16062025_20_10_14_9965.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5f1bc4b7c2a11b6a59ee9ff227388656.jpg","text":"TemporaryFile(/tmp/multipartBody3682871054824448600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866814551,"filename":"image_16062025_20_10_04_10169.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/eb7cf841c84c642d9cc51b627816ed61.jpg","text":"TemporaryFile(/tmp/multipartBody8717446406655951606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866814551,"filename":"image_16062025_20_10_24_9970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376371240","file1":"1376371210","file0":"1376371179","file4":"1376371387","file5":"1376371481","file3":"1376371295"},"map_files_photo_id_array":[{"photo_id":"1376371481","filename":"file5"},{"photo_id":"1376371240","filename":"file2"},{"photo_id":"1376371387","filename":"file4"},{"photo_id":"1376371210","filename":"file1"},{"photo_id":"1376371179","filename":"file0"},{"photo_id":"1376371295","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376371295":["hashtag1","hashtag2"]},{"1376371481":["hashtag1","hashtag2"]},{"1376371387":["hashtag1","hashtag2"]},{"1376371210":["hashtag1","hashtag2"]},{"1376371240":["hashtag1","hashtag2"]},{"1376371179":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376371295, 1376371481, 1376371387, 1376371210, 1376371240, 1376371179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.273529291152954 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:00:02.317015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/08/image_16062025_20_08_24_10029.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_14_10010.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_08_04_8982.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_55_11146.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_44_9999.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_34_8815.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/08/image_16062025_20_08_24_10029.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_14_10010.jpg', '/mnt/data/16062025/20/07/image_16062025_20_08_04_8982.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_55_11146.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_44_9999.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_34_8815.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/08/image_16062025_20_08_24_10029.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_14_10010.jpg', '/mnt/data/16062025/20/07/image_16062025_20_08_04_8982.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_55_11146.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_44_9999.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_34_8815.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/08/image_16062025_20_08_24_10029.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_14_10010.jpg
/mnt/data/16062025/20/07/image_16062025_20_08_04_8982.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_55_11146.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_44_9999.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_34_8815.jpg
uploaded 0 photos
time to upload: 30.3512020111084 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:01:03.098087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/08/image_16062025_20_08_24_10029.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_14_10010.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_08_04_8982.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_55_11146.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_44_9999.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_34_8815.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/08/image_16062025_20_08_24_10029.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_14_10010.jpg', '/mnt/data/16062025/20/07/image_16062025_20_08_04_8982.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_55_11146.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_44_9999.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_34_8815.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/08/image_16062025_20_08_24_10029.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_14_10010.jpg', '/mnt/data/16062025/20/07/image_16062025_20_08_04_8982.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_55_11146.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_44_9999.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_34_8815.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/08/image_16062025_20_08_24_10029.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_14_10010.jpg
/mnt/data/16062025/20/07/image_16062025_20_08_04_8982.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_55_11146.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_44_9999.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_34_8815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376372645","1376372593","1376372464","1376372527","1376372652","1376372634"],"photo_ids_order":["1376372464","1376372527","1376372593","1376372634","1376372645","1376372652"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/57671e971959154d3dd88e6b71901158.jpg","text":"TemporaryFile(/tmp/multipartBody831261403502014358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866949673,"filename":"image_16062025_20_07_44_9999.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5cc06a5414fb0489980fc000cff9609f.jpg","text":"TemporaryFile(/tmp/multipartBody7500038490461987377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866949673,"filename":"image_16062025_20_08_04_8982.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7b4b2557288ac0067ee1b4bf31912e44.jpg","text":"TemporaryFile(/tmp/multipartBody6375024386034157369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866949673,"filename":"image_16062025_20_08_24_10029.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/06cff89dc9e18af59979df366acff497.jpg","text":"TemporaryFile(/tmp/multipartBody5891934187931449284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866949673,"filename":"image_16062025_20_08_14_10010.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9776e2f89b31ec63c571e2701b149d0a.jpg","text":"TemporaryFile(/tmp/multipartBody6152176069730291461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866949673,"filename":"image_16062025_20_07_34_8815.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0202badb275b0f5dc20b57533550584e.jpg","text":"TemporaryFile(/tmp/multipartBody383693616030028164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754866949673,"filename":"image_16062025_20_07_55_11146.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376372593","file1":"1376372527","file0":"1376372464","file4":"1376372645","file5":"1376372652","file3":"1376372634"},"map_files_photo_id_array":[{"photo_id":"1376372652","filename":"file5"},{"photo_id":"1376372593","filename":"file2"},{"photo_id":"1376372645","filename":"file4"},{"photo_id":"1376372527","filename":"file1"},{"photo_id":"1376372464","filename":"file0"},{"photo_id":"1376372634","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376372645":["hashtag1","hashtag2"]},{"1376372593":["hashtag1","hashtag2"]},{"1376372464":["hashtag1","hashtag2"]},{"1376372527":["hashtag1","hashtag2"]},{"1376372652":["hashtag1","hashtag2"]},{"1376372634":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376372645, 1376372593, 1376372464, 1376372527, 1376372652, 1376372634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.11696338653564 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:03:03.037859
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', '/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', '/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg
/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg
uploaded 0 photos
time to upload: 32.69826817512512 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:04:03.234261
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', '/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', '/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg
/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg
uploaded 0 photos
time to upload: 31.31489872932434 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:05:03.177133
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', '/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', '/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg
/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg
uploaded 0 photos
time to upload: 30.309648275375366 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:06:02.293015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', '/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', '/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg
/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg
uploaded 0 photos
time to upload: 30.31891679763794 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:07:02.862484
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', '/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', '/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg
/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376373005","1376373014","1376373016","1376373010","1376373007","1376373012"],"photo_ids_order":["1376373005","1376373007","1376373010","1376373012","1376373014","1376373016"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bb718cbebd203eadff012b744aea4e2b.jpg","text":"TemporaryFile(/tmp/multipartBody6406346495724308969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867307568,"filename":"image_16062025_20_07_25_10030.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/26688d194eb2706f7fef2245e913c58a.jpg","text":"TemporaryFile(/tmp/multipartBody7675252056213247185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867307568,"filename":"image_16062025_20_06_44_10242.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/455c414e1e75ddaa3de517c7c2f15d9b.jpg","text":"TemporaryFile(/tmp/multipartBody4803900597318767605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867307568,"filename":"image_16062025_20_06_34_10165.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f3544adf87ae212b4b0575470b81f7ea.jpg","text":"TemporaryFile(/tmp/multipartBody640856068731881242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867307568,"filename":"image_16062025_20_07_05_10191.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2ed77e0e74875fafb3e820c18ee3f415.jpg","text":"TemporaryFile(/tmp/multipartBody1818231743099776023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867307568,"filename":"image_16062025_20_07_15_9996.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1d6404e1c58820ff2d965d349544c9d0.jpg","text":"TemporaryFile(/tmp/multipartBody8205688261289874107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867307568,"filename":"image_16062025_20_06_55_10269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376373010","file1":"1376373007","file0":"1376373005","file4":"1376373014","file5":"1376373016","file3":"1376373012"},"map_files_photo_id_array":[{"photo_id":"1376373016","filename":"file5"},{"photo_id":"1376373010","filename":"file2"},{"photo_id":"1376373014","filename":"file4"},{"photo_id":"1376373007","filename":"file1"},{"photo_id":"1376373005","filename":"file0"},{"photo_id":"1376373012","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376373005":["hashtag1","hashtag2"]},{"1376373014":["hashtag1","hashtag2"]},{"1376373016":["hashtag1","hashtag2"]},{"1376373010":["hashtag1","hashtag2"]},{"1376373007":["hashtag1","hashtag2"]},{"1376373012":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376373005, 1376373014, 1376373016, 1376373010, 1376373007, 1376373012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.89794063568115 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:09:02.960606
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/06/image_16062025_20_06_24_10010.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_14_10069.jpg', 2), ('/mnt/data/16062025/20/05/image_16062025_20_05_35_10188.jpg', 2), ('/mnt/data/16062025/20/05/image_16062025_20_05_25_9986.jpg', 2), ('/mnt/data/16062025/20/05/image_16062025_20_05_15_9929.jpg', 2), ('/mnt/data/16062025/20/04/image_16062025_20_05_05_10212.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/06/image_16062025_20_06_24_10010.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_14_10069.jpg', '/mnt/data/16062025/20/05/image_16062025_20_05_35_10188.jpg', '/mnt/data/16062025/20/05/image_16062025_20_05_25_9986.jpg', '/mnt/data/16062025/20/05/image_16062025_20_05_15_9929.jpg', '/mnt/data/16062025/20/04/image_16062025_20_05_05_10212.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/06/image_16062025_20_06_24_10010.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_14_10069.jpg', '/mnt/data/16062025/20/05/image_16062025_20_05_35_10188.jpg', '/mnt/data/16062025/20/05/image_16062025_20_05_25_9986.jpg', '/mnt/data/16062025/20/05/image_16062025_20_05_15_9929.jpg', '/mnt/data/16062025/20/04/image_16062025_20_05_05_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/06/image_16062025_20_06_24_10010.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_14_10069.jpg
/mnt/data/16062025/20/05/image_16062025_20_05_35_10188.jpg
/mnt/data/16062025/20/05/image_16062025_20_05_25_9986.jpg
/mnt/data/16062025/20/05/image_16062025_20_05_15_9929.jpg
/mnt/data/16062025/20/04/image_16062025_20_05_05_10212.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376373041","1376373038","1376373055","1376373039","1376373036","1376373053"],"photo_ids_order":["1376373036","1376373038","1376373039","1376373041","1376373053","1376373055"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2a43487285ae0a2eb491468f361bdbf6.jpg","text":"TemporaryFile(/tmp/multipartBody6278231854585738575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867431528,"filename":"image_16062025_20_05_25_9986.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1848975247413fae056fbaef67725bf1.jpg","text":"TemporaryFile(/tmp/multipartBody3378173809195957703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867431528,"filename":"image_16062025_20_06_14_10069.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d9b92b81f9a7cd4313bfbab469ec7372.jpg","text":"TemporaryFile(/tmp/multipartBody3455597804809233748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867431528,"filename":"image_16062025_20_05_05_10212.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c6ba3aa1b981a5e634bfecb78a402a45.jpg","text":"TemporaryFile(/tmp/multipartBody7770782867377090323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867431528,"filename":"image_16062025_20_05_35_10188.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0758dffe6aeaae7b1fd32ad5f53f18fd.jpg","text":"TemporaryFile(/tmp/multipartBody7885310239315065138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867431528,"filename":"image_16062025_20_06_24_10010.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ded55f86b9b385a008afd9eec314ef67.jpg","text":"TemporaryFile(/tmp/multipartBody3535424223166665295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867431528,"filename":"image_16062025_20_05_15_9929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376373039","file1":"1376373038","file0":"1376373036","file4":"1376373053","file5":"1376373055","file3":"1376373041"},"map_files_photo_id_array":[{"photo_id":"1376373055","filename":"file5"},{"photo_id":"1376373039","filename":"file2"},{"photo_id":"1376373053","filename":"file4"},{"photo_id":"1376373038","filename":"file1"},{"photo_id":"1376373036","filename":"file0"},{"photo_id":"1376373041","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376373041":["hashtag1","hashtag2"]},{"1376373038":["hashtag1","hashtag2"]},{"1376373055":["hashtag1","hashtag2"]},{"1376373039":["hashtag1","hashtag2"]},{"1376373036":["hashtag1","hashtag2"]},{"1376373053":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376373041, 1376373038, 1376373055, 1376373039, 1376373036, 1376373053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.81424474716187 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:11:03.025599
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/04/image_16062025_20_04_54_9897.jpg', 2), ('/mnt/data/16062025/20/03/image_16062025_20_03_35_10158.jpg', 2), ('/mnt/data/16062025/20/03/image_16062025_20_03_24_10170.jpg', 2), ('/mnt/data/16062025/20/03/image_16062025_20_03_14_10157.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_03_04_10352.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_54_8896.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/04/image_16062025_20_04_54_9897.jpg', '/mnt/data/16062025/20/03/image_16062025_20_03_35_10158.jpg', '/mnt/data/16062025/20/03/image_16062025_20_03_24_10170.jpg', '/mnt/data/16062025/20/03/image_16062025_20_03_14_10157.jpg', '/mnt/data/16062025/20/02/image_16062025_20_03_04_10352.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_54_8896.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/04/image_16062025_20_04_54_9897.jpg', '/mnt/data/16062025/20/03/image_16062025_20_03_35_10158.jpg', '/mnt/data/16062025/20/03/image_16062025_20_03_24_10170.jpg', '/mnt/data/16062025/20/03/image_16062025_20_03_14_10157.jpg', '/mnt/data/16062025/20/02/image_16062025_20_03_04_10352.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_54_8896.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/04/image_16062025_20_04_54_9897.jpg
/mnt/data/16062025/20/03/image_16062025_20_03_35_10158.jpg
/mnt/data/16062025/20/03/image_16062025_20_03_24_10170.jpg
/mnt/data/16062025/20/03/image_16062025_20_03_14_10157.jpg
/mnt/data/16062025/20/02/image_16062025_20_03_04_10352.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_54_8896.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376373077","1376373082","1376373079","1376373088","1376373084","1376373086"],"photo_ids_order":["1376373077","1376373079","1376373082","1376373084","1376373086","1376373088"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/73b25642f6c7252f2388a911616e1463.jpg","text":"TemporaryFile(/tmp/multipartBody5180928361247827739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867538978,"filename":"image_16062025_20_04_54_9897.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fe2836e5e27c93627cbe57e362e666cc.jpg","text":"TemporaryFile(/tmp/multipartBody1666134852508731731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867538978,"filename":"image_16062025_20_03_24_10170.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/14c46ae097d9ac6619fd3694e0819538.jpg","text":"TemporaryFile(/tmp/multipartBody1330697612531110482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867538978,"filename":"image_16062025_20_03_35_10158.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a64702624e49811015ab234bc07b2219.jpg","text":"TemporaryFile(/tmp/multipartBody4671556085118407917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867538978,"filename":"image_16062025_20_02_54_8896.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e82d069f08ec1142864fd850167e193e.jpg","text":"TemporaryFile(/tmp/multipartBody8575171987816403299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867538978,"filename":"image_16062025_20_03_14_10157.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/630c4e0b14fa07b629e6b4b71143ae4e.jpg","text":"TemporaryFile(/tmp/multipartBody3180495569014020032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867538978,"filename":"image_16062025_20_03_04_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376373082","file1":"1376373079","file0":"1376373077","file4":"1376373086","file5":"1376373088","file3":"1376373084"},"map_files_photo_id_array":[{"photo_id":"1376373088","filename":"file5"},{"photo_id":"1376373082","filename":"file2"},{"photo_id":"1376373086","filename":"file4"},{"photo_id":"1376373079","filename":"file1"},{"photo_id":"1376373077","filename":"file0"},{"photo_id":"1376373084","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376373077":["hashtag1","hashtag2"]},{"1376373082":["hashtag1","hashtag2"]},{"1376373079":["hashtag1","hashtag2"]},{"1376373088":["hashtag1","hashtag2"]},{"1376373084":["hashtag1","hashtag2"]},{"1376373086":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376373077, 1376373082, 1376373079, 1376373088, 1376373084, 1376373086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.24475693702698 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:12:02.893174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', '/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', '/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg
/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg
/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg
uploaded 0 photos
time to upload: 31.247013092041016 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:13:02.732965
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', '/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', '/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg
/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg
/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 141.3151798248291 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:16:03.142240
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', '/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', '/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg
/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg
/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg
uploaded 0 photos
time to upload: 30.301867485046387 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:17:02.632235
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', '/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', '/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg
/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg
/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376373169","1376373160","1376373162","1376373171","1376373165","1376373167"],"photo_ids_order":["1376373160","1376373162","1376373165","1376373167","1376373169","1376373171"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3528c0bd4366eef92ea9445a8f318a63.jpg","text":"TemporaryFile(/tmp/multipartBody3405517695549741583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867900637,"filename":"image_16062025_20_02_04_10336.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d2465a5e1863ace7c3285e2d57c4c8ee.jpg","text":"TemporaryFile(/tmp/multipartBody5444590487307719117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867900637,"filename":"image_16062025_20_02_45_10126.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e8569f1ff17d6b63faaa8c6c0d1afe15.jpg","text":"TemporaryFile(/tmp/multipartBody1131010170688889919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867900637,"filename":"image_16062025_20_02_35_10154.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3e04693ea4de5b307e8e3b29b88bfc5e.jpg","text":"TemporaryFile(/tmp/multipartBody5566429914290433530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867900637,"filename":"image_16062025_20_01_54_10100.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/62373d0af6b940dbbfb226d1dee421de.jpg","text":"TemporaryFile(/tmp/multipartBody3465113820990679445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867900637,"filename":"image_16062025_20_02_24_10147.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0d035f6c4b2b0e2b644304acc71a6662.jpg","text":"TemporaryFile(/tmp/multipartBody2651875128352357544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754867900637,"filename":"image_16062025_20_02_14_10142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376373165","file1":"1376373162","file0":"1376373160","file4":"1376373169","file5":"1376373171","file3":"1376373167"},"map_files_photo_id_array":[{"photo_id":"1376373171","filename":"file5"},{"photo_id":"1376373165","filename":"file2"},{"photo_id":"1376373169","filename":"file4"},{"photo_id":"1376373162","filename":"file1"},{"photo_id":"1376373160","filename":"file0"},{"photo_id":"1376373167","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376373169":["hashtag1","hashtag2"]},{"1376373160":["hashtag1","hashtag2"]},{"1376373162":["hashtag1","hashtag2"]},{"1376373171":["hashtag1","hashtag2"]},{"1376373165":["hashtag1","hashtag2"]},{"1376373167":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376373169, 1376373160, 1376373162, 1376373171, 1376373165, 1376373167)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.773266315460205 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:19:02.734202
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/01/image_16062025_20_01_44_8910.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_01_35_10023.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_01_25_10177.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_01_15_10165.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_01_04_10221.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_54_10097.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/01/image_16062025_20_01_44_8910.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_35_10023.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_25_10177.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_15_10165.jpg', '/mnt/data/16062025/20/00/image_16062025_20_01_04_10221.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_54_10097.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/01/image_16062025_20_01_44_8910.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_35_10023.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_25_10177.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_15_10165.jpg', '/mnt/data/16062025/20/00/image_16062025_20_01_04_10221.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_54_10097.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/01/image_16062025_20_01_44_8910.jpg
/mnt/data/16062025/20/01/image_16062025_20_01_35_10023.jpg
/mnt/data/16062025/20/01/image_16062025_20_01_25_10177.jpg
/mnt/data/16062025/20/01/image_16062025_20_01_15_10165.jpg
/mnt/data/16062025/20/00/image_16062025_20_01_04_10221.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_54_10097.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376373215","1376373203","1376373200","1376373202","1376373195","1376373197"],"photo_ids_order":["1376373195","1376373197","1376373200","1376373202","1376373203","1376373215"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/48c515528f51f35a65b9ad576b9ea555.jpg","text":"TemporaryFile(/tmp/multipartBody3420646134460478832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868024012,"filename":"image_16062025_20_00_54_10097.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/476b4dcbd506848abc61be7449ff180b.jpg","text":"TemporaryFile(/tmp/multipartBody8913872801788517908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868024012,"filename":"image_16062025_20_01_04_10221.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/150f5489ee19761b87bf25d82afde4fd.jpg","text":"TemporaryFile(/tmp/multipartBody4528907098703225615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868024012,"filename":"image_16062025_20_01_25_10177.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c6d18e1b6fc4c3a74d29bd1e02a319a7.jpg","text":"TemporaryFile(/tmp/multipartBody1922802940751949669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868024012,"filename":"image_16062025_20_01_15_10165.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4fa4eca83cfdd3aea78f34def53d3009.jpg","text":"TemporaryFile(/tmp/multipartBody5001881528659228953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868024012,"filename":"image_16062025_20_01_44_8910.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b8a39dc930b91d0583bd6a90692e8109.jpg","text":"TemporaryFile(/tmp/multipartBody5389136042470074872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868024012,"filename":"image_16062025_20_01_35_10023.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376373200","file1":"1376373197","file0":"1376373195","file4":"1376373203","file5":"1376373215","file3":"1376373202"},"map_files_photo_id_array":[{"photo_id":"1376373215","filename":"file5"},{"photo_id":"1376373200","filename":"file2"},{"photo_id":"1376373203","filename":"file4"},{"photo_id":"1376373197","filename":"file1"},{"photo_id":"1376373195","filename":"file0"},{"photo_id":"1376373202","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376373215":["hashtag1","hashtag2"]},{"1376373203":["hashtag1","hashtag2"]},{"1376373200":["hashtag1","hashtag2"]},{"1376373202":["hashtag1","hashtag2"]},{"1376373195":["hashtag1","hashtag2"]},{"1376373197":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376373215, 1376373203, 1376373200, 1376373202, 1376373195, 1376373197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.64613056182861 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:21:02.857774
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg', 2), ('/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg', 2), ('/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg
/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg
/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg
uploaded 0 photos
time to upload: 24.04630970954895 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:22:02.724324
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg', 2), ('/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg', 2), ('/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg
/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg
/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 137.3799340724945 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:25:03.070004
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg', 2), ('/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg', 2), ('/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg
/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg
/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376373722","1376373724","1376373703","1376373669","1376373660","1376373720"],"photo_ids_order":["1376373660","1376373669","1376373703","1376373720","1376373722","1376373724"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a272e1d1928e35804067e1a0319b03a4.jpg","text":"TemporaryFile(/tmp/multipartBody4864993613234420699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868388066,"filename":"image_16062025_19_59_44_10024.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f73df099a10c92d519d10426650438d5.jpg","text":"TemporaryFile(/tmp/multipartBody8454064237376310920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868388066,"filename":"image_16062025_19_59_34_10014.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9da6821dc80898a1c9ae220daaa3584a.jpg","text":"TemporaryFile(/tmp/multipartBody966327424372845864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868388066,"filename":"image_16062025_20_00_24_9937.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0c271cbb8abcf3ffe4f4c93cbf06fc77.jpg","text":"TemporaryFile(/tmp/multipartBody3255621150629409168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868388066,"filename":"image_16062025_20_00_34_9967.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a8796c056b11eaf6b0bcab2e0cbb5b80.jpg","text":"TemporaryFile(/tmp/multipartBody4798322032850269837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868388066,"filename":"image_16062025_20_00_44_10083.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b68ca5443b15e232fa6e4a039eae389b.jpg","text":"TemporaryFile(/tmp/multipartBody6705368103246837717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868388066,"filename":"image_16062025_20_00_14_10079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376373703","file1":"1376373669","file0":"1376373660","file4":"1376373722","file5":"1376373724","file3":"1376373720"},"map_files_photo_id_array":[{"photo_id":"1376373724","filename":"file5"},{"photo_id":"1376373703","filename":"file2"},{"photo_id":"1376373722","filename":"file4"},{"photo_id":"1376373669","filename":"file1"},{"photo_id":"1376373660","filename":"file0"},{"photo_id":"1376373720","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376373722":["hashtag1","hashtag2"]},{"1376373724":["hashtag1","hashtag2"]},{"1376373703":["hashtag1","hashtag2"]},{"1376373669":["hashtag1","hashtag2"]},{"1376373660":["hashtag1","hashtag2"]},{"1376373720":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376373722, 1376373724, 1376373703, 1376373669, 1376373660, 1376373720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.53575468063354 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:27:02.379318
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', 2), ('/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', '/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', '/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg
/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg
/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg
uploaded 0 photos
time to upload: 30.375181198120117 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:29:02.729913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', 2), ('/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', '/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', '/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg
/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg
/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 17.6177499294281 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:30:03.120033
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', 2), ('/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', '/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', '/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg
/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg
/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg
uploaded 0 photos
time to upload: 30.30868411064148 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:31:02.744872
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', 2), ('/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', '/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', '/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg
/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg
/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376373824","1376373815","1376373820","1376373817","1376373825","1376373822"],"photo_ids_order":["1376373815","1376373817","1376373820","1376373822","1376373824","1376373825"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/46ab876cd3438f25abd286fd400a30c5.jpg","text":"TemporaryFile(/tmp/multipartBody3406561908763174210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868736844,"filename":"image_16062025_19_58_45_9895.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/61989afe2bc371594abe2fb5d1ba1f14.jpg","text":"TemporaryFile(/tmp/multipartBody9130266300091485097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868736844,"filename":"image_16062025_19_59_24_10009.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b5fe95325ccc1f89afdd9844529caab4.jpg","text":"TemporaryFile(/tmp/multipartBody5007562476545230513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868736844,"filename":"image_16062025_19_59_04_9139.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5b40bd79a61bdeeb56730894ff326f81.jpg","text":"TemporaryFile(/tmp/multipartBody6857974455783824328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868736844,"filename":"image_16062025_19_59_14_9957.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/041b30cf31a7af24d9404faa2eadff4d.jpg","text":"TemporaryFile(/tmp/multipartBody8652488527847434359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868736844,"filename":"image_16062025_19_58_35_9890.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7a25433d75314a1efa0388cf3a37aa54.jpg","text":"TemporaryFile(/tmp/multipartBody3310009341581200896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754868736844,"filename":"image_16062025_19_58_55_9969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376373820","file1":"1376373817","file0":"1376373815","file4":"1376373824","file5":"1376373825","file3":"1376373822"},"map_files_photo_id_array":[{"photo_id":"1376373825","filename":"file5"},{"photo_id":"1376373820","filename":"file2"},{"photo_id":"1376373824","filename":"file4"},{"photo_id":"1376373817","filename":"file1"},{"photo_id":"1376373815","filename":"file0"},{"photo_id":"1376373822","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376373824":["hashtag1","hashtag2"]},{"1376373815":["hashtag1","hashtag2"]},{"1376373820":["hashtag1","hashtag2"]},{"1376373817":["hashtag1","hashtag2"]},{"1376373825":["hashtag1","hashtag2"]},{"1376373822":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376373824, 1376373815, 1376373820, 1376373817, 1376373825, 1376373822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.60180616378784 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:33:02.750154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_45_10122.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_35_10244.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg', '/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_45_10122.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_35_10244.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg', '/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_45_10122.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_35_10244.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg
/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_45_10122.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_35_10244.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 135.54272437095642 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:36:03.241427
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_45_10122.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_35_10244.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg', '/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_45_10122.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_35_10244.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg', '/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_45_10122.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_35_10244.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg
/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_45_10122.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_35_10244.jpg
uploaded 0 photos
time to upload: 30.330687761306763 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:37:02.820747
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_45_10122.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_35_10244.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg', '/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_45_10122.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_35_10244.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg', '/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_45_10122.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_35_10244.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg
/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_45_10122.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_35_10244.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376373920","1376373911","1376373908","1376373913","1376373916","1376373907"],"photo_ids_order":["1376373907","1376373908","1376373911","1376373913","1376373916","1376373920"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/35cc53a9863ddb44db08748825dbe864.jpg","text":"TemporaryFile(/tmp/multipartBody5790078417582826652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754869102316,"filename":"image_16062025_19_57_35_10244.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/27842b25512058a13edc0351e1cfab63.jpg","text":"TemporaryFile(/tmp/multipartBody3249340470067340723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754869102316,"filename":"image_16062025_19_58_04_10030.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/684ca447421abb9e06784e92e2b976d7.jpg","text":"TemporaryFile(/tmp/multipartBody8929903815417591353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754869102316,"filename":"image_16062025_19_58_14_9951.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7dd0bb45f7f2e0dcd4281f524e9d965b.jpg","text":"TemporaryFile(/tmp/multipartBody153555826942813840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754869102316,"filename":"image_16062025_19_57_54_8888.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/90f57fce83aaa379df54e7dabe0eac15.jpg","text":"TemporaryFile(/tmp/multipartBody5412124065937650306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754869102316,"filename":"image_16062025_19_57_45_10122.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f9189008c03474be28fc5f9d8c61fa7c.jpg","text":"TemporaryFile(/tmp/multipartBody8867456778564859476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754869102316,"filename":"image_16062025_19_58_25_11083.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376373911","file1":"1376373908","file0":"1376373907","file4":"1376373916","file5":"1376373920","file3":"1376373913"},"map_files_photo_id_array":[{"photo_id":"1376373920","filename":"file5"},{"photo_id":"1376373911","filename":"file2"},{"photo_id":"1376373916","filename":"file4"},{"photo_id":"1376373908","filename":"file1"},{"photo_id":"1376373907","filename":"file0"},{"photo_id":"1376373913","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376373920":["hashtag1","hashtag2"]},{"1376373911":["hashtag1","hashtag2"]},{"1376373908":["hashtag1","hashtag2"]},{"1376373913":["hashtag1","hashtag2"]},{"1376373916":["hashtag1","hashtag2"]},{"1376373907":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376373920, 1376373911, 1376373908, 1376373913, 1376373916, 1376373907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.09452772140503 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:39:02.721943
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.3820161819458 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:40:02.741955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.310204029083252 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:41:03.233017
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.306405067443848 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:42:02.672367
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.335687160491943 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:43:02.474568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.29453158378601 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:44:02.764574
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 286, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:45:02.465581
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.306164979934692 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:46:02.553422
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 34.926634788513184 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:47:02.898924
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 32.177088260650635 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:48:02.886904
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 31.720955848693848 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:49:03.159062
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/01/47/image_11082025_01_48_04_9512.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/01/47/image_11082025_01_48_04_9512.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/01/47/image_11082025_01_48_04_9512.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/01/47/image_11082025_01_48_04_9512.jpg
uploaded 0 photos
time to upload: 32.86511254310608 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:50:02.854383
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/01/47/image_11082025_01_48_04_9512.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/01/47/image_11082025_01_48_04_9512.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/01/47/image_11082025_01_48_04_9512.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/01/47/image_11082025_01_48_04_9512.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376374112"],"photo_id":"1376374112","photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5c769537cc6fee35cb1d8033e933fd6c.jpg","text":"TemporaryFile(/tmp/multipartBody3699583972450708508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754869868585,"filename":"image_11082025_01_48_04_9512.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1376374112"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1376374112"}],"hashtags":[],"portfolio_id":"25860217","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 19.411896228790283 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:51:02.886340
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.31419348716736 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:52:03.164876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.312958002090454 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:53:02.982327
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.297916173934937 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:54:02.249311
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.3035306930542 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:55:03.009616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 32.66656446456909 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:56:02.505177
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.29626178741455 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:57:03.362171
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/01/57/image_11082025_01_57_14_9091.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/01/57/image_11082025_01_57_14_9091.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/01/57/image_11082025_01_57_14_9091.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/01/57/image_11082025_01_57_14_9091.jpg
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 01:59:03.501700
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/01/57/image_11082025_01_57_14_9091.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/01/57/image_11082025_01_57_14_9091.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/01/57/image_11082025_01_57_14_9091.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/01/57/image_11082025_01_57_14_9091.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376374676"],"photo_id":"1376374676","photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f85135b68d4f711e59b0895cc18cf6e3.jpg","text":"TemporaryFile(/tmp/multipartBody5879048253033293864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754870411347,"filename":"image_11082025_01_57_14_9091.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1376374676"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1376374676"}],"hashtags":[],"portfolio_id":"25860217","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.697394371032715 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:00:02.680084
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 32.23610520362854 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:01:02.925003
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.299152612686157 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:02:02.291479
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.32902956008911 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:03:03.041569
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.301850080490112 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:04:02.595291
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.332632780075073 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:05:02.397360
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 19.732765197753906 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:06:02.769640
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.3755464553833 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:07:02.344020
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/02/06/image_11082025_02_06_25_10344.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/02/06/image_11082025_02_06_25_10344.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/02/06/image_11082025_02_06_25_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/02/06/image_11082025_02_06_25_10344.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376375750"],"photo_id":"1376375750","photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ad260123fa7d58743134c9f067e8439d.jpg","text":"TemporaryFile(/tmp/multipartBody4390051870884299313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754870890217,"filename":"image_11082025_02_06_25_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1376375750"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1376375750"}],"hashtags":[],"portfolio_id":"25860217","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.03861403465271 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:08:03.041964
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
uploaded 0 photos
time to upload: 30.30220365524292 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:09:02.815219
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg', '/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/57/image_16062025_19_57_24_9936.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_15_10157.jpg
/mnt/data/16062025/19/56/image_16062025_19_57_04_10338.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_54_10188.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_44_10091.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_34_10099.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376375796","1376375795","1376375786","1376375797","1376375794","1376375788"],"photo_ids_order":["1376375786","1376375788","1376375794","1376375795","1376375796","1376375797"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cdad4ef93b32d398dd55e3efb58153ea.jpg","text":"TemporaryFile(/tmp/multipartBody7806623517646307719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871032922,"filename":"image_16062025_19_56_44_10091.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6481d6a43fa5076f1bb39302bc8eda1a.jpg","text":"TemporaryFile(/tmp/multipartBody5399198707961809174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871032922,"filename":"image_16062025_19_56_54_10188.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/94b4dd77e289d8ae0b446f68b82cdb7a.jpg","text":"TemporaryFile(/tmp/multipartBody5366017029723907758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871032922,"filename":"image_16062025_19_57_24_9936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/257633a3ebe12d5d1bffca970c6a2ac3.jpg","text":"TemporaryFile(/tmp/multipartBody8066464281342919033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871032922,"filename":"image_16062025_19_56_34_10099.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/447a351575efb45bf68f8bb3819eb3fa.jpg","text":"TemporaryFile(/tmp/multipartBody7551673520620746563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871032922,"filename":"image_16062025_19_57_04_10338.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/239f2b66f42a9d74a00612fe25534121.jpg","text":"TemporaryFile(/tmp/multipartBody5831430949129399960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871032922,"filename":"image_16062025_19_57_15_10157.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376375794","file1":"1376375788","file0":"1376375786","file4":"1376375796","file5":"1376375797","file3":"1376375795"},"map_files_photo_id_array":[{"photo_id":"1376375797","filename":"file5"},{"photo_id":"1376375794","filename":"file2"},{"photo_id":"1376375796","filename":"file4"},{"photo_id":"1376375788","filename":"file1"},{"photo_id":"1376375786","filename":"file0"},{"photo_id":"1376375795","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376375796":["hashtag1","hashtag2"]},{"1376375795":["hashtag1","hashtag2"]},{"1376375786":["hashtag1","hashtag2"]},{"1376375797":["hashtag1","hashtag2"]},{"1376375794":["hashtag1","hashtag2"]},{"1376375788":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376375796, 1376375795, 1376375786, 1376375797, 1376375794, 1376375788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.61493110656738 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:11:02.867792
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/56/image_16062025_19_56_24_9004.jpg', 2), ('/mnt/data/16062025/19/56/image_16062025_19_56_15_10234.jpg', 2), ('/mnt/data/16062025/19/55/image_16062025_19_56_04_10306.jpg', 2), ('/mnt/data/16062025/19/55/image_16062025_19_55_54_10093.jpg', 2), ('/mnt/data/16062025/19/55/image_16062025_19_55_44_10197.jpg', 2), ('/mnt/data/16062025/19/55/image_16062025_19_55_34_10137.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/56/image_16062025_19_56_24_9004.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_15_10234.jpg', '/mnt/data/16062025/19/55/image_16062025_19_56_04_10306.jpg', '/mnt/data/16062025/19/55/image_16062025_19_55_54_10093.jpg', '/mnt/data/16062025/19/55/image_16062025_19_55_44_10197.jpg', '/mnt/data/16062025/19/55/image_16062025_19_55_34_10137.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/56/image_16062025_19_56_24_9004.jpg', '/mnt/data/16062025/19/56/image_16062025_19_56_15_10234.jpg', '/mnt/data/16062025/19/55/image_16062025_19_56_04_10306.jpg', '/mnt/data/16062025/19/55/image_16062025_19_55_54_10093.jpg', '/mnt/data/16062025/19/55/image_16062025_19_55_44_10197.jpg', '/mnt/data/16062025/19/55/image_16062025_19_55_34_10137.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/56/image_16062025_19_56_24_9004.jpg
/mnt/data/16062025/19/56/image_16062025_19_56_15_10234.jpg
/mnt/data/16062025/19/55/image_16062025_19_56_04_10306.jpg
/mnt/data/16062025/19/55/image_16062025_19_55_54_10093.jpg
/mnt/data/16062025/19/55/image_16062025_19_55_44_10197.jpg
/mnt/data/16062025/19/55/image_16062025_19_55_34_10137.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376375821","1376375830","1376375824","1376375826","1376375829","1376375828"],"photo_ids_order":["1376375821","1376375824","1376375826","1376375828","1376375829","1376375830"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1fefe5df5e8007af6e9ee5e8e96dcb7f.jpg","text":"TemporaryFile(/tmp/multipartBody4224262062964566313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871149991,"filename":"image_16062025_19_56_24_9004.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0855307b5a47280d6d390c395f497b11.jpg","text":"TemporaryFile(/tmp/multipartBody8419210396915481166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871149991,"filename":"image_16062025_19_55_34_10137.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a21c8e60e0acfe5925a9bb2e1d152cd9.jpg","text":"TemporaryFile(/tmp/multipartBody6364710134599546379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871149991,"filename":"image_16062025_19_56_15_10234.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0365e7c7ddecd081cb69644382a02884.jpg","text":"TemporaryFile(/tmp/multipartBody3191621060960849477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871149991,"filename":"image_16062025_19_56_04_10306.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3fb16677a00af0810a1d962315caa15d.jpg","text":"TemporaryFile(/tmp/multipartBody4850036491036044388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871149991,"filename":"image_16062025_19_55_44_10197.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7daf02d4a61df27d1024c82d72acfc53.jpg","text":"TemporaryFile(/tmp/multipartBody6814249744354900985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871149991,"filename":"image_16062025_19_55_54_10093.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376375826","file1":"1376375824","file0":"1376375821","file4":"1376375829","file5":"1376375830","file3":"1376375828"},"map_files_photo_id_array":[{"photo_id":"1376375830","filename":"file5"},{"photo_id":"1376375826","filename":"file2"},{"photo_id":"1376375829","filename":"file4"},{"photo_id":"1376375824","filename":"file1"},{"photo_id":"1376375821","filename":"file0"},{"photo_id":"1376375828","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376375821":["hashtag1","hashtag2"]},{"1376375830":["hashtag1","hashtag2"]},{"1376375824":["hashtag1","hashtag2"]},{"1376375826":["hashtag1","hashtag2"]},{"1376375829":["hashtag1","hashtag2"]},{"1376375828":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376375821, 1376375830, 1376375824, 1376375826, 1376375829, 1376375828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.06873202323914 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:13:02.737088
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/55/image_16062025_19_55_24_8947.jpg', 2), ('/mnt/data/16062025/19/55/image_16062025_19_55_15_10174.jpg', 2), ('/mnt/data/16062025/19/54/image_16062025_19_55_05_10363.jpg', 2), ('/mnt/data/16062025/19/54/image_16062025_19_54_54_9942.jpg', 2), ('/mnt/data/16062025/19/54/image_16062025_19_54_44_9945.jpg', 2), ('/mnt/data/16062025/19/54/image_16062025_19_54_34_9977.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/55/image_16062025_19_55_24_8947.jpg', '/mnt/data/16062025/19/55/image_16062025_19_55_15_10174.jpg', '/mnt/data/16062025/19/54/image_16062025_19_55_05_10363.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_54_9942.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_44_9945.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_34_9977.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/55/image_16062025_19_55_24_8947.jpg', '/mnt/data/16062025/19/55/image_16062025_19_55_15_10174.jpg', '/mnt/data/16062025/19/54/image_16062025_19_55_05_10363.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_54_9942.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_44_9945.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_34_9977.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/55/image_16062025_19_55_24_8947.jpg
/mnt/data/16062025/19/55/image_16062025_19_55_15_10174.jpg
/mnt/data/16062025/19/54/image_16062025_19_55_05_10363.jpg
/mnt/data/16062025/19/54/image_16062025_19_54_54_9942.jpg
/mnt/data/16062025/19/54/image_16062025_19_54_44_9945.jpg
/mnt/data/16062025/19/54/image_16062025_19_54_34_9977.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 147.71560192108154 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:16:02.345286
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/02/15/image_11082025_02_15_35_10234.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/02/15/image_11082025_02_15_35_10234.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/02/15/image_11082025_02_15_35_10234.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/02/15/image_11082025_02_15_35_10234.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376375898"],"photo_id":"1376375898","photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f1cd8a148ac1e420a6ab503adf00bbd4.jpg","text":"TemporaryFile(/tmp/multipartBody1859081623651875324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871426300,"filename":"image_11082025_02_15_35_10234.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1376375898"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1376375898"}],"hashtags":[],"portfolio_id":"25860217","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.459408283233643 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:17:03.037543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/55/image_16062025_19_55_24_8947.jpg', 2), ('/mnt/data/16062025/19/55/image_16062025_19_55_15_10174.jpg', 2), ('/mnt/data/16062025/19/54/image_16062025_19_55_05_10363.jpg', 2), ('/mnt/data/16062025/19/54/image_16062025_19_54_54_9942.jpg', 2), ('/mnt/data/16062025/19/54/image_16062025_19_54_44_9945.jpg', 2), ('/mnt/data/16062025/19/54/image_16062025_19_54_34_9977.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/55/image_16062025_19_55_24_8947.jpg', '/mnt/data/16062025/19/55/image_16062025_19_55_15_10174.jpg', '/mnt/data/16062025/19/54/image_16062025_19_55_05_10363.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_54_9942.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_44_9945.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_34_9977.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/55/image_16062025_19_55_24_8947.jpg', '/mnt/data/16062025/19/55/image_16062025_19_55_15_10174.jpg', '/mnt/data/16062025/19/54/image_16062025_19_55_05_10363.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_54_9942.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_44_9945.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_34_9977.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/55/image_16062025_19_55_24_8947.jpg
/mnt/data/16062025/19/55/image_16062025_19_55_15_10174.jpg
/mnt/data/16062025/19/54/image_16062025_19_55_05_10363.jpg
/mnt/data/16062025/19/54/image_16062025_19_54_54_9942.jpg
/mnt/data/16062025/19/54/image_16062025_19_54_44_9945.jpg
/mnt/data/16062025/19/54/image_16062025_19_54_34_9977.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376375917","1376375926","1376375919","1376375924","1376375918","1376375921"],"photo_ids_order":["1376375917","1376375918","1376375919","1376375921","1376375924","1376375926"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f30018dd651b3fd126deec93266bb11c.jpg","text":"TemporaryFile(/tmp/multipartBody3064337523072569413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871499004,"filename":"image_16062025_19_55_24_8947.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6f0970c7550797a25967fc5a0aa1e5c3.jpg","text":"TemporaryFile(/tmp/multipartBody3596803018021103352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871499004,"filename":"image_16062025_19_54_34_9977.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/47d95ec456c817aaf86fa014bd7784bd.jpg","text":"TemporaryFile(/tmp/multipartBody1434386374082235433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871499004,"filename":"image_16062025_19_55_05_10363.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f50820f90e134d0ae1cea07dedd649f7.jpg","text":"TemporaryFile(/tmp/multipartBody9164131749791409802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871499004,"filename":"image_16062025_19_54_44_9945.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/17d5bff0655aa1d2b3bf144473572c29.jpg","text":"TemporaryFile(/tmp/multipartBody2608465268809993006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871499004,"filename":"image_16062025_19_55_15_10174.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/30cb5d1753290b51ff910ce98d419624.jpg","text":"TemporaryFile(/tmp/multipartBody2680636817715154121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871499004,"filename":"image_16062025_19_54_54_9942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376375919","file1":"1376375918","file0":"1376375917","file4":"1376375924","file5":"1376375926","file3":"1376375921"},"map_files_photo_id_array":[{"photo_id":"1376375926","filename":"file5"},{"photo_id":"1376375919","filename":"file2"},{"photo_id":"1376375924","filename":"file4"},{"photo_id":"1376375918","filename":"file1"},{"photo_id":"1376375917","filename":"file0"},{"photo_id":"1376375921","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376375917":["hashtag1","hashtag2"]},{"1376375926":["hashtag1","hashtag2"]},{"1376375919":["hashtag1","hashtag2"]},{"1376375924":["hashtag1","hashtag2"]},{"1376375918":["hashtag1","hashtag2"]},{"1376375921":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376375917, 1376375926, 1376375919, 1376375924, 1376375918, 1376375921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.22880411148071 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:18:03.009492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/54/image_16062025_19_54_24_9996.jpg', 2), ('/mnt/data/16062025/19/54/image_16062025_19_54_14_10035.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_54_04_10377.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_53_54_10005.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/54/image_16062025_19_54_24_9996.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_14_10035.jpg', '/mnt/data/16062025/19/53/image_16062025_19_54_04_10377.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_54_10005.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/54/image_16062025_19_54_24_9996.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_14_10035.jpg', '/mnt/data/16062025/19/53/image_16062025_19_54_04_10377.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_54_10005.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/54/image_16062025_19_54_24_9996.jpg
/mnt/data/16062025/19/54/image_16062025_19_54_14_10035.jpg
/mnt/data/16062025/19/53/image_16062025_19_54_04_10377.jpg
/mnt/data/16062025/19/53/image_16062025_19_53_54_10005.jpg
/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg
/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg
uploaded 0 photos
time to upload: 30.367507219314575 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:19:03.129116
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/54/image_16062025_19_54_24_9996.jpg', 2), ('/mnt/data/16062025/19/54/image_16062025_19_54_14_10035.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_54_04_10377.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_53_54_10005.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/54/image_16062025_19_54_24_9996.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_14_10035.jpg', '/mnt/data/16062025/19/53/image_16062025_19_54_04_10377.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_54_10005.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/54/image_16062025_19_54_24_9996.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_14_10035.jpg', '/mnt/data/16062025/19/53/image_16062025_19_54_04_10377.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_54_10005.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/54/image_16062025_19_54_24_9996.jpg
/mnt/data/16062025/19/54/image_16062025_19_54_14_10035.jpg
/mnt/data/16062025/19/53/image_16062025_19_54_04_10377.jpg
/mnt/data/16062025/19/53/image_16062025_19_53_54_10005.jpg
/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg
/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg
uploaded 0 photos
time to upload: 32.76504707336426 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:20:02.532880
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/54/image_16062025_19_54_24_9996.jpg', 2), ('/mnt/data/16062025/19/54/image_16062025_19_54_14_10035.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_54_04_10377.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_53_54_10005.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/54/image_16062025_19_54_24_9996.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_14_10035.jpg', '/mnt/data/16062025/19/53/image_16062025_19_54_04_10377.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_54_10005.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/54/image_16062025_19_54_24_9996.jpg', '/mnt/data/16062025/19/54/image_16062025_19_54_14_10035.jpg', '/mnt/data/16062025/19/53/image_16062025_19_54_04_10377.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_54_10005.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/54/image_16062025_19_54_24_9996.jpg
/mnt/data/16062025/19/54/image_16062025_19_54_14_10035.jpg
/mnt/data/16062025/19/53/image_16062025_19_54_04_10377.jpg
/mnt/data/16062025/19/53/image_16062025_19_53_54_10005.jpg
/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg
/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376375962","1376375970","1376375964","1376375966","1376375969","1376375971"],"photo_ids_order":["1376375962","1376375964","1376375966","1376375969","1376375970","1376375971"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/512aeec7889f4e49f6b9b3cb51d96e03.jpg","text":"TemporaryFile(/tmp/multipartBody8088375489324359899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871677084,"filename":"image_16062025_19_54_24_9996.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/405e5e7c0a2a760caf00a5d087f91b9c.jpg","text":"TemporaryFile(/tmp/multipartBody7129794256115256078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871677084,"filename":"image_16062025_19_53_44_10000.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b4f59f3681b398c77b68cc9cb4846556.jpg","text":"TemporaryFile(/tmp/multipartBody2332501061306438582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871677084,"filename":"image_16062025_19_54_14_10035.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/24365726410999656ac7d8f7aeea4603.jpg","text":"TemporaryFile(/tmp/multipartBody430466799075838677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871677084,"filename":"image_16062025_19_54_04_10377.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0f5f3abd1d0cf323de50b34aaf6242b3.jpg","text":"TemporaryFile(/tmp/multipartBody5226590641017117041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871677084,"filename":"image_16062025_19_53_54_10005.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b3bddc17a5e7a6d22e6cc26910e850f7.jpg","text":"TemporaryFile(/tmp/multipartBody4320863340081785540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871677084,"filename":"image_16062025_19_53_34_9972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376375966","file1":"1376375964","file0":"1376375962","file4":"1376375970","file5":"1376375971","file3":"1376375969"},"map_files_photo_id_array":[{"photo_id":"1376375971","filename":"file5"},{"photo_id":"1376375966","filename":"file2"},{"photo_id":"1376375970","filename":"file4"},{"photo_id":"1376375964","filename":"file1"},{"photo_id":"1376375962","filename":"file0"},{"photo_id":"1376375969","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376375962":["hashtag1","hashtag2"]},{"1376375970":["hashtag1","hashtag2"]},{"1376375964":["hashtag1","hashtag2"]},{"1376375966":["hashtag1","hashtag2"]},{"1376375969":["hashtag1","hashtag2"]},{"1376375971":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376375962, 1376375970, 1376375964, 1376375966, 1376375969, 1376375971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.954537868499756 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:21:02.548330
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/53/image_16062025_19_53_24_9956.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_53_14_9948.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_53_04_10139.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_54_9927.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_44_9955.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_34_9928.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/53/image_16062025_19_53_24_9956.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_14_9948.jpg', '/mnt/data/16062025/19/52/image_16062025_19_53_04_10139.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_54_9927.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_44_9955.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_34_9928.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/53/image_16062025_19_53_24_9956.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_14_9948.jpg', '/mnt/data/16062025/19/52/image_16062025_19_53_04_10139.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_54_9927.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_44_9955.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_34_9928.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/53/image_16062025_19_53_24_9956.jpg
/mnt/data/16062025/19/53/image_16062025_19_53_14_9948.jpg
/mnt/data/16062025/19/52/image_16062025_19_53_04_10139.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_54_9927.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_44_9955.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_34_9928.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376375994","1376375988","1376375990","1376375993","1376375983","1376375986"],"photo_ids_order":["1376375983","1376375986","1376375988","1376375990","1376375993","1376375994"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9f9ed4a19d42433c64c25411bea6bd3c.jpg","text":"TemporaryFile(/tmp/multipartBody7251936776472040318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871739951,"filename":"image_16062025_19_52_34_9928.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4c892479a788bc2b29d8498e17ce465d.jpg","text":"TemporaryFile(/tmp/multipartBody4525261486126156594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871739951,"filename":"image_16062025_19_53_04_10139.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5348ed90926166f81132b1aed038f8e9.jpg","text":"TemporaryFile(/tmp/multipartBody2137984910636742494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871739951,"filename":"image_16062025_19_52_54_9927.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/00452894097a49e9b701ec774087b2f7.jpg","text":"TemporaryFile(/tmp/multipartBody3666777433231480794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871739951,"filename":"image_16062025_19_52_44_9955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6845f339eb3f53fc64b929fa22316709.jpg","text":"TemporaryFile(/tmp/multipartBody382123933002247815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871739951,"filename":"image_16062025_19_53_24_9956.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3e4cf67e83f249fbc0b12d2828f853a6.jpg","text":"TemporaryFile(/tmp/multipartBody3761188221804446493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754871739951,"filename":"image_16062025_19_53_14_9948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376375988","file1":"1376375986","file0":"1376375983","file4":"1376375993","file5":"1376375994","file3":"1376375990"},"map_files_photo_id_array":[{"photo_id":"1376375994","filename":"file5"},{"photo_id":"1376375988","filename":"file2"},{"photo_id":"1376375993","filename":"file4"},{"photo_id":"1376375986","filename":"file1"},{"photo_id":"1376375983","filename":"file0"},{"photo_id":"1376375990","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376375994":["hashtag1","hashtag2"]},{"1376375988":["hashtag1","hashtag2"]},{"1376375990":["hashtag1","hashtag2"]},{"1376375993":["hashtag1","hashtag2"]},{"1376375983":["hashtag1","hashtag2"]},{"1376375986":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376375994, 1376375988, 1376375990, 1376375993, 1376375983, 1376375986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.132139921188354 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:22:02.739705
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
uploaded 0 photos
time to upload: 30.37640690803528 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:23:02.420308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 128.6937177181244 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:26:02.539527
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/02/24/image_11082025_02_24_45_10418.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/02/24/image_11082025_02_24_45_10418.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/02/24/image_11082025_02_24_45_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/02/24/image_11082025_02_24_45_10418.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 4.0573976039886475 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:27:03.047202
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/02/24/image_11082025_02_24_45_10418.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/02/24/image_11082025_02_24_45_10418.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/02/24/image_11082025_02_24_45_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/02/24/image_11082025_02_24_45_10418.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376376070"],"photo_id":"1376376070","photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/67de81bf3657da5e72f0050fb707197d.jpg","text":"TemporaryFile(/tmp/multipartBody1165968406221570691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754872090834,"filename":"image_11082025_02_24_45_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1376376070"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1376376070"}],"hashtags":[],"portfolio_id":"25860217","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 21.168471336364746 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:29:02.755705
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
uploaded 0 photos
time to upload: 30.29242730140686 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:30:02.414338
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
uploaded 0 photos
time to upload: 30.315242528915405 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:31:03.135629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 18.320419311523438 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:32:02.302513
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
uploaded 0 photos
time to upload: 30.321423768997192 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:33:02.717312
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
uploaded 0 photos
time to upload: 32.6763551235199 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:34:02.884670
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/02/33/image_11082025_02_33_54_9066.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/02/33/image_11082025_02_33_54_9066.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/02/33/image_11082025_02_33_54_9066.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/02/33/image_11082025_02_33_54_9066.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 4.216767072677612 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:35:02.561057
  port_id : 25860217
  datou_current_id : 3493612
in upload_from_sqlite, uploading in 25860217
in upload_photo_and_update_logs, uploading 1 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/11082025/02/33/image_11082025_02_33_54_9066.jpg', 2)]
port id,  25860217
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/11082025/02/33/image_11082025_02_33_54_9066.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/11082025/02/33/image_11082025_02_33_54_9066.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3493612&datou=0
/mnt/data/11082025/02/33/image_11082025_02_33_54_9066.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376376191"],"photo_id":"1376376191","photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7c84b047981f89fbd7b8920288243b37.jpg","text":"TemporaryFile(/tmp/multipartBody8516413562253576900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754872568685,"filename":"image_11082025_02_33_54_9066.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1376376191"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1376376191"}],"hashtags":[],"portfolio_id":"25860217","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.558171033859253 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:36:02.735662
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
uploaded 0 photos
time to upload: 30.335729598999023 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:37:02.509042
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
uploaded 0 photos
time to upload: 32.08137822151184 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:38:02.724254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
uploaded 0 photos
time to upload: 30.319987773895264 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:39:03.536295
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
uploaded 0 photos
time to upload: 30.307609796524048 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:40:02.878810
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
uploaded 0 photos
time to upload: 32.24924397468567 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:41:03.083044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376376288","1376376282","1376376290","1376376284","1376376292","1376376286"],"photo_ids_order":["1376376282","1376376284","1376376286","1376376288","1376376290","1376376292"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/77b4e0ab91d7a5f299f7d6035a8ac9cf.jpg","text":"TemporaryFile(/tmp/multipartBody5883209299104992703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754872951502,"filename":"image_16062025_19_51_54_8851.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7ebcf39ada7ceed21d2af12d01b37928.jpg","text":"TemporaryFile(/tmp/multipartBody5789587245915904715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754872951502,"filename":"image_16062025_19_52_24_10102.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e98e1e2fe1f624b39e81db5b6c1e1b90.jpg","text":"TemporaryFile(/tmp/multipartBody8420472111302420339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754872951502,"filename":"image_16062025_19_51_45_10090.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/733d218f5b4e0431843981a63478f615.jpg","text":"TemporaryFile(/tmp/multipartBody1218707048426819516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754872951502,"filename":"image_16062025_19_52_14_9814.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/636fa33e9ffb25474ed227a1e91ea9cf.jpg","text":"TemporaryFile(/tmp/multipartBody7091428555041395333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754872951502,"filename":"image_16062025_19_51_35_10059.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cc1596789de50f4e02f7da5d0a8cd1fb.jpg","text":"TemporaryFile(/tmp/multipartBody5707976244545235291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754872951502,"filename":"image_16062025_19_52_04_10511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376376286","file1":"1376376284","file0":"1376376282","file4":"1376376290","file5":"1376376292","file3":"1376376288"},"map_files_photo_id_array":[{"photo_id":"1376376292","filename":"file5"},{"photo_id":"1376376286","filename":"file2"},{"photo_id":"1376376290","filename":"file4"},{"photo_id":"1376376284","filename":"file1"},{"photo_id":"1376376282","filename":"file0"},{"photo_id":"1376376288","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376376288":["hashtag1","hashtag2"]},{"1376376282":["hashtag1","hashtag2"]},{"1376376290":["hashtag1","hashtag2"]},{"1376376284":["hashtag1","hashtag2"]},{"1376376292":["hashtag1","hashtag2"]},{"1376376286":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376376288, 1376376282, 1376376290, 1376376284, 1376376292, 1376376286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.39520835876465 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:43:03.115360
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', '/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', '/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg
/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 16.453153371810913 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:44:02.413115
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', '/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', '/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg
/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg
uploaded 0 photos
time to upload: 30.322893142700195 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:45:02.873398
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', '/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', '/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg
/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg
uploaded 0 photos
time to upload: 30.390159606933594 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:46:02.446910
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', '/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', '/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg
/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg
uploaded 0 photos
time to upload: 31.933227062225342 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:47:02.312746
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', '/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', '/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg
/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg
uploaded 0 photos
time to upload: 30.3271381855011 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:48:02.738441
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', '/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', '/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg
/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_54_9959.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376376390","1376376384","1376376393","1376376387","1376376381","1376376379"],"photo_ids_order":["1376376379","1376376381","1376376384","1376376387","1376376390","1376376393"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a307d47f46e389f0ad158066b00ca7d5.jpg","text":"TemporaryFile(/tmp/multipartBody8262182744679930499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754873363128,"filename":"image_16062025_19_50_44_9955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/308f7f8a80a2f5b8e846ff6385d5321d.jpg","text":"TemporaryFile(/tmp/multipartBody7784020422253561432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754873363128,"filename":"image_16062025_19_51_05_10403.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c87825f4d8cafb6a08c7d1c0c6372e4c.jpg","text":"TemporaryFile(/tmp/multipartBody1136380205529747137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754873363128,"filename":"image_16062025_19_50_34_9974.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4d5b91bfb594b74bc07434be93c95e9b.jpg","text":"TemporaryFile(/tmp/multipartBody4310103979471492874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754873363128,"filename":"image_16062025_19_50_54_9959.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0321dd32a33d2ec7a24bb63728253751.jpg","text":"TemporaryFile(/tmp/multipartBody4724280551181864646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754873363128,"filename":"image_16062025_19_51_15_9975.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ff5532e6e69714af35d6ecff55f25526.jpg","text":"TemporaryFile(/tmp/multipartBody2174986861123844582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754873363128,"filename":"image_16062025_19_51_25_10004.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376376384","file1":"1376376381","file0":"1376376379","file4":"1376376390","file5":"1376376393","file3":"1376376387"},"map_files_photo_id_array":[{"photo_id":"1376376393","filename":"file5"},{"photo_id":"1376376384","filename":"file2"},{"photo_id":"1376376390","filename":"file4"},{"photo_id":"1376376381","filename":"file1"},{"photo_id":"1376376379","filename":"file0"},{"photo_id":"1376376387","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376376390":["hashtag1","hashtag2"]},{"1376376384":["hashtag1","hashtag2"]},{"1376376393":["hashtag1","hashtag2"]},{"1376376387":["hashtag1","hashtag2"]},{"1376376381":["hashtag1","hashtag2"]},{"1376376379":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376376390, 1376376384, 1376376393, 1376376387, 1376376381, 1376376379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.568889141082764 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:50:02.349785
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', '/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', '/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg
/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg
uploaded 0 photos
time to upload: 30.386207342147827 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:51:03.338384
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', '/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', '/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg
/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg
uploaded 0 photos
time to upload: 30.329859972000122 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:52:02.241083
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', '/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', '/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg
/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 143.3921458721161 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:55:02.818818
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', '/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', '/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg
/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg
uploaded 0 photos
time to upload: 30.333277225494385 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:56:02.806737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', '/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', '/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg
/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg
uploaded 0 photos
time to upload: 30.30602240562439 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:57:02.519118
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', '/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', '/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg
/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376376525","1376376519","1376376527","1376376521","1376376529","1376376523"],"photo_ids_order":["1376376519","1376376521","1376376523","1376376525","1376376527","1376376529"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0ab93f98f0600d4726403e7230685680.jpg","text":"TemporaryFile(/tmp/multipartBody211137695176457704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754873890328,"filename":"image_16062025_19_49_54_9975.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7ddcdd7804b82194a5367866cb25c525.jpg","text":"TemporaryFile(/tmp/multipartBody9159653910310321184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754873890328,"filename":"image_16062025_19_50_24_9949.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/24e9afe05ac9190f56d2fc5775150552.jpg","text":"TemporaryFile(/tmp/multipartBody7263955376892911077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754873890328,"filename":"image_16062025_19_49_44_9917.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/78c5be4ce2d13f6470ad4bd25135ab42.jpg","text":"TemporaryFile(/tmp/multipartBody8710819333784493816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754873890328,"filename":"image_16062025_19_50_14_9979.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fa904752ad106df5c5043ad1e45f3eb4.jpg","text":"TemporaryFile(/tmp/multipartBody4533763248935553808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754873890328,"filename":"image_16062025_19_49_34_9947.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/19f5ba5c3bfa2aa795111282ef3c1205.jpg","text":"TemporaryFile(/tmp/multipartBody988303782136136377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754873890328,"filename":"image_16062025_19_50_04_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376376523","file1":"1376376521","file0":"1376376519","file4":"1376376527","file5":"1376376529","file3":"1376376525"},"map_files_photo_id_array":[{"photo_id":"1376376529","filename":"file5"},{"photo_id":"1376376523","filename":"file2"},{"photo_id":"1376376527","filename":"file4"},{"photo_id":"1376376521","filename":"file1"},{"photo_id":"1376376519","filename":"file0"},{"photo_id":"1376376525","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376376525":["hashtag1","hashtag2"]},{"1376376519":["hashtag1","hashtag2"]},{"1376376527":["hashtag1","hashtag2"]},{"1376376521":["hashtag1","hashtag2"]},{"1376376529":["hashtag1","hashtag2"]},{"1376376523":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376376525, 1376376519, 1376376527, 1376376521, 1376376529, 1376376523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.73133611679077 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 02:59:02.891115
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/49/image_16062025_19_49_24_9977.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_14_10013.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_49_04_10052.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_54_10107.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_44_10004.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_34_10088.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/49/image_16062025_19_49_24_9977.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_14_10013.jpg', '/mnt/data/16062025/19/48/image_16062025_19_49_04_10052.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_54_10107.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_44_10004.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_34_10088.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/49/image_16062025_19_49_24_9977.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_14_10013.jpg', '/mnt/data/16062025/19/48/image_16062025_19_49_04_10052.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_54_10107.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_44_10004.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_34_10088.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/49/image_16062025_19_49_24_9977.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_14_10013.jpg
/mnt/data/16062025/19/48/image_16062025_19_49_04_10052.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_54_10107.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_44_10004.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_34_10088.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376377308","1376377262","1376377226","1376377160","1376377129","1376377191"],"photo_ids_order":["1376377129","1376377160","1376377191","1376377226","1376377262","1376377308"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/679ed185bab3497b9e3f67143321d6d2.jpg","text":"TemporaryFile(/tmp/multipartBody1126764399495658252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754874019281,"filename":"image_16062025_19_48_34_10088.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/aab17277fe9d6463863e6074efc91521.jpg","text":"TemporaryFile(/tmp/multipartBody686800614732819403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754874019281,"filename":"image_16062025_19_48_44_10004.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/738033470d2aa7d510c5b2df83017ec0.jpg","text":"TemporaryFile(/tmp/multipartBody3939052745967770862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754874019281,"filename":"image_16062025_19_48_54_10107.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e2dd665dc15744a48f2d03c6ccceec16.jpg","text":"TemporaryFile(/tmp/multipartBody3414898659154280893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754874019281,"filename":"image_16062025_19_49_14_10013.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e8fd89017385d39dbb808b2ba38d1767.jpg","text":"TemporaryFile(/tmp/multipartBody8562431625819522522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754874019281,"filename":"image_16062025_19_49_24_9977.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f2c11c14387add5a4e7323e1e79fd13d.jpg","text":"TemporaryFile(/tmp/multipartBody8362961810740391370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754874019281,"filename":"image_16062025_19_49_04_10052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376377191","file1":"1376377160","file0":"1376377129","file4":"1376377262","file5":"1376377308","file3":"1376377226"},"map_files_photo_id_array":[{"photo_id":"1376377308","filename":"file5"},{"photo_id":"1376377191","filename":"file2"},{"photo_id":"1376377262","filename":"file4"},{"photo_id":"1376377160","filename":"file1"},{"photo_id":"1376377129","filename":"file0"},{"photo_id":"1376377226","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376377308":["hashtag1","hashtag2"]},{"1376377262":["hashtag1","hashtag2"]},{"1376377226":["hashtag1","hashtag2"]},{"1376377160":["hashtag1","hashtag2"]},{"1376377129":["hashtag1","hashtag2"]},{"1376377191":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376377308, 1376377262, 1376377226, 1376377160, 1376377129, 1376377191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.86323380470276 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:00:02.953776
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.406925916671753 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:01:02.880826
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.311447381973267 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:02:03.006816
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 146.78709864616394 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:05:02.551230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.326091289520264 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:06:02.694790
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.317107677459717 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:07:02.648993
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 31.347601652145386 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:08:02.933168
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.31950807571411 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:09:02.629239
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.31113314628601 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:10:02.690450
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.345796823501587 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:11:02.325974
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.338582038879395 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:12:02.406046
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.322393655776978 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:13:02.997139
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.31520438194275 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:14:02.299068
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.333412170410156 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:15:03.199314
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.320921182632446 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:16:02.487412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.333120107650757 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:17:03.146315
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.337846279144287 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:18:02.229755
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.330885410308838 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:19:03.176014
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.332216024398804 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:20:03.225452
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.335468769073486 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:21:02.685682
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.44195580482483 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:22:02.575904
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 31.779844522476196 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:23:03.091743
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 31.77530312538147 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:24:02.755839
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.304911851882935 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:25:02.390681
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 30.570272207260132 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:26:02.035847
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 32.920936822891235 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:27:02.806018
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.31431794166565 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:28:03.073531
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.326455116271973 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:29:02.696855
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
uploaded 0 photos
time to upload: 30.323779582977295 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:30:03.157154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376379215","1376379218","1376379211","1376379222","1376379219","1376379213"],"photo_ids_order":["1376379211","1376379213","1376379215","1376379218","1376379219","1376379222"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4d1a8e806be31a1b621fc9b87ebee4a6.jpg","text":"TemporaryFile(/tmp/multipartBody4412262116853231245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754875888876,"filename":"image_16062025_19_47_54_9950.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c9fa394cc1697dd8521d220f3aa0a37a.jpg","text":"TemporaryFile(/tmp/multipartBody3494251290776450404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754875888876,"filename":"image_16062025_19_47_44_10151.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9426950939ed54f98c3929235475055b.jpg","text":"TemporaryFile(/tmp/multipartBody6577013127790841508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754875888876,"filename":"image_16062025_19_48_24_10140.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fe9ce6752492fcec1440a32c807423b0.jpg","text":"TemporaryFile(/tmp/multipartBody3618741893473755974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754875888876,"filename":"image_16062025_19_47_24_10214.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3b4c9a7cd86df84695eff942009630a3.jpg","text":"TemporaryFile(/tmp/multipartBody936301909748797317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754875888876,"filename":"image_16062025_19_47_34_10179.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a00f06a196a9afa9d1da10311d7021b2.jpg","text":"TemporaryFile(/tmp/multipartBody4660854573355170683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754875888876,"filename":"image_16062025_19_48_14_10197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376379215","file1":"1376379213","file0":"1376379211","file4":"1376379219","file5":"1376379222","file3":"1376379218"},"map_files_photo_id_array":[{"photo_id":"1376379222","filename":"file5"},{"photo_id":"1376379215","filename":"file2"},{"photo_id":"1376379219","filename":"file4"},{"photo_id":"1376379213","filename":"file1"},{"photo_id":"1376379211","filename":"file0"},{"photo_id":"1376379218","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376379215":["hashtag1","hashtag2"]},{"1376379218":["hashtag1","hashtag2"]},{"1376379211":["hashtag1","hashtag2"]},{"1376379222":["hashtag1","hashtag2"]},{"1376379219":["hashtag1","hashtag2"]},{"1376379213":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376379215, 1376379218, 1376379211, 1376379222, 1376379219, 1376379213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.57660675048828 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:32:02.730488
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', '/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', '/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg
/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg
uploaded 0 photos
time to upload: 30.397268056869507 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:33:02.391939
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', '/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', '/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg
/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg
uploaded 0 photos
time to upload: 30.328930377960205 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:34:02.780943
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', '/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', '/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg
/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg
uploaded 0 photos
time to upload: 30.307310819625854 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:35:02.168150
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', '/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', '/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg
/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376379289","1376379280","1376379291","1376379282","1376379284","1376379287"],"photo_ids_order":["1376379280","1376379282","1376379284","1376379287","1376379289","1376379291"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0a2166e5e79573b44051fa657cade0a0.jpg","text":"TemporaryFile(/tmp/multipartBody7187934181719951107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754876179001,"filename":"image_16062025_19_46_34_10228.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6145edd82e4ced94f8d4525c5ed20122.jpg","text":"TemporaryFile(/tmp/multipartBody3750200926431067012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754876179001,"filename":"image_16062025_19_47_14_10193.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/95abefa7c6d8c77c27bf9d135137271b.jpg","text":"TemporaryFile(/tmp/multipartBody1258795968485062102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754876179001,"filename":"image_16062025_19_46_24_10153.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/83d844bad830ac0b36f6d93fdd56ba57.jpg","text":"TemporaryFile(/tmp/multipartBody1655486850605156777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754876179001,"filename":"image_16062025_19_47_04_8957.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d136ab25af33ab206a7b404c2f11ef96.jpg","text":"TemporaryFile(/tmp/multipartBody1751032722206651998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754876179001,"filename":"image_16062025_19_46_55_10122.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f90a1b45ba0436e61fdc87ecf17c5e9a.jpg","text":"TemporaryFile(/tmp/multipartBody3222958477282249388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754876179001,"filename":"image_16062025_19_46_45_10174.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376379284","file1":"1376379282","file0":"1376379280","file4":"1376379289","file5":"1376379291","file3":"1376379287"},"map_files_photo_id_array":[{"photo_id":"1376379291","filename":"file5"},{"photo_id":"1376379284","filename":"file2"},{"photo_id":"1376379289","filename":"file4"},{"photo_id":"1376379282","filename":"file1"},{"photo_id":"1376379280","filename":"file0"},{"photo_id":"1376379287","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376379289":["hashtag1","hashtag2"]},{"1376379280":["hashtag1","hashtag2"]},{"1376379291":["hashtag1","hashtag2"]},{"1376379282":["hashtag1","hashtag2"]},{"1376379284":["hashtag1","hashtag2"]},{"1376379287":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376379289, 1376379280, 1376379291, 1376379282, 1376379284, 1376379287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.38882517814636 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:36:02.561847
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.38669443130493 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:37:03.072223
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.328115463256836 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:38:02.158758
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.313632488250732 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:39:03.047510
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 33.69149851799011 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:40:02.745027
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.327078580856323 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:41:02.365089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.33880305290222 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:42:02.578705
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 132.35903596878052 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:45:02.688219
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.32834219932556 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:46:02.613642
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 29.27350425720215 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:47:02.420812
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.331491708755493 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:48:02.275435
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.320626974105835 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:49:02.960279
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.332515716552734 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:50:02.393735
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.30981707572937 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:51:03.181408
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 31.358568906784058 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:52:02.983315
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 146.68592715263367 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:55:02.544690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.323251724243164 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:56:02.799852
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.32457447052002 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:57:02.459860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.301029682159424 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 03:59:02.890637
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
uploaded 0 photos
time to upload: 30.345314979553223 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:00:02.341555
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376380784","1376380850","1376380814","1376380975","1376380878","1376380920"],"photo_ids_order":["1376380784","1376380814","1376380850","1376380878","1376380920","1376380975"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3d3b67df231f2c5c6a1ad767bc8add0a.jpg","text":"TemporaryFile(/tmp/multipartBody239198152305320843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754877687341,"filename":"image_16062025_19_46_14_10136.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/44070ddf6781dfc2027c20eaecb2535b.jpg","text":"TemporaryFile(/tmp/multipartBody2540190436302677144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754877687341,"filename":"image_16062025_19_45_54_8948.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5a041bfce527916070824a9bb6cd9d17.jpg","text":"TemporaryFile(/tmp/multipartBody4709656968288790048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754877687341,"filename":"image_16062025_19_46_04_10279.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ec447beacfe5833dd883043cd37d5f20.jpg","text":"TemporaryFile(/tmp/multipartBody8461385991945565600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754877687341,"filename":"image_16062025_19_45_24_10160.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7f3e63d31b3a66557afc47cdb1be21c4.jpg","text":"TemporaryFile(/tmp/multipartBody7110185706598899845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754877687341,"filename":"image_16062025_19_45_45_10290.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f337f7a0a6fb7a8af312e772c2e85501.jpg","text":"TemporaryFile(/tmp/multipartBody6145206405197508796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754877687341,"filename":"image_16062025_19_45_34_10191.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376380850","file1":"1376380814","file0":"1376380784","file4":"1376380920","file5":"1376380975","file3":"1376380878"},"map_files_photo_id_array":[{"photo_id":"1376380975","filename":"file5"},{"photo_id":"1376380850","filename":"file2"},{"photo_id":"1376380920","filename":"file4"},{"photo_id":"1376380814","filename":"file1"},{"photo_id":"1376380784","filename":"file0"},{"photo_id":"1376380878","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376380784":["hashtag1","hashtag2"]},{"1376380850":["hashtag1","hashtag2"]},{"1376380814":["hashtag1","hashtag2"]},{"1376380975":["hashtag1","hashtag2"]},{"1376380878":["hashtag1","hashtag2"]},{"1376380920":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376380784, 1376380850, 1376380814, 1376380975, 1376380878, 1376380920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.28961777687073 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:02:02.930718
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg
/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 150.1428792476654 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:05:03.200548
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg
/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg
uploaded 0 photos
time to upload: 30.367955207824707 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:06:02.387783
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg
/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 30.03888773918152 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:07:02.994914
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg
/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg
uploaded 0 photos
time to upload: 30.57448148727417 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:08:03.136679
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg
/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg
uploaded 0 photos
time to upload: 30.343966960906982 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:09:02.808052
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg
/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg
uploaded 0 photos
time to upload: 30.315975427627563 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:10:02.322443
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg
/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 18.85914635658264 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:11:02.947883
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg
/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376381924","1376381912","1376381914","1376381917","1376381919","1376381921"],"photo_ids_order":["1376381912","1376381914","1376381917","1376381919","1376381921","1376381924"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7280bf4b1b85e30af94b264b02483c12.jpg","text":"TemporaryFile(/tmp/multipartBody677441007209393205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878343777,"filename":"image_16062025_19_44_25_10014.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fb9492bd842084093d2fb48ef400fd95.jpg","text":"TemporaryFile(/tmp/multipartBody4601132952365705544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878343777,"filename":"image_16062025_19_45_14_10118.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/480a96021cfdca58b68970eb8e1febd3.jpg","text":"TemporaryFile(/tmp/multipartBody6680815218605706463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878343777,"filename":"image_16062025_19_45_04_9110.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2d1e14a2debd46babbd614cf25bcbfde.jpg","text":"TemporaryFile(/tmp/multipartBody7160120102295403696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878343777,"filename":"image_16062025_19_44_55_10158.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/02835ad65bdd8cc8a43834ef17f8bbdf.jpg","text":"TemporaryFile(/tmp/multipartBody5663486865667504843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878343777,"filename":"image_16062025_19_44_45_10100.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/847fd73029eacbe258055da30ba6a0a2.jpg","text":"TemporaryFile(/tmp/multipartBody8666503912693078917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878343777,"filename":"image_16062025_19_44_35_10041.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376381917","file1":"1376381914","file0":"1376381912","file4":"1376381921","file5":"1376381924","file3":"1376381919"},"map_files_photo_id_array":[{"photo_id":"1376381924","filename":"file5"},{"photo_id":"1376381917","filename":"file2"},{"photo_id":"1376381921","filename":"file4"},{"photo_id":"1376381914","filename":"file1"},{"photo_id":"1376381912","filename":"file0"},{"photo_id":"1376381919","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376381924":["hashtag1","hashtag2"]},{"1376381912":["hashtag1","hashtag2"]},{"1376381914":["hashtag1","hashtag2"]},{"1376381917":["hashtag1","hashtag2"]},{"1376381919":["hashtag1","hashtag2"]},{"1376381921":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376381924, 1376381912, 1376381914, 1376381917, 1376381919, 1376381921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.370827436447144 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:13:02.904012
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg', '/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg', '/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg
/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg
uploaded 0 photos
time to upload: 30.364099264144897 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:14:03.033254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg', '/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg', '/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg
/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg
uploaded 0 photos
time to upload: 30.32681179046631 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:15:02.693199
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg', '/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg', '/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg
/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376382008","1376382013","1376382001","1376382010","1376382003","1376382005"],"photo_ids_order":["1376382001","1376382003","1376382005","1376382008","1376382010","1376382013"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/01fce9533d7a874e8dd39c68e6ed0223.jpg","text":"TemporaryFile(/tmp/multipartBody6725379279307063892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878579822,"filename":"image_16062025_19_43_44_9974.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1acb38ae4a132b30b222d9db2e7fa334.jpg","text":"TemporaryFile(/tmp/multipartBody755772528206635718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878579822,"filename":"image_16062025_19_43_24_9950.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9805c0dfa06c67456836bc81eebdf852.jpg","text":"TemporaryFile(/tmp/multipartBody6212977688842580611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878579822,"filename":"image_16062025_19_44_15_10113.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7e54dd843376a047eefde5d8925b9328.jpg","text":"TemporaryFile(/tmp/multipartBody6908061339198672548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878579822,"filename":"image_16062025_19_43_34_9959.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0a209fe84651d500afe77d774117ddb2.jpg","text":"TemporaryFile(/tmp/multipartBody3562861187642128677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878579822,"filename":"image_16062025_19_44_04_10272.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/df55338eb242c3cb934e75d0d5efdb65.jpg","text":"TemporaryFile(/tmp/multipartBody7590292558992958470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878579822,"filename":"image_16062025_19_43_54_9942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376382005","file1":"1376382003","file0":"1376382001","file4":"1376382010","file5":"1376382013","file3":"1376382008"},"map_files_photo_id_array":[{"photo_id":"1376382013","filename":"file5"},{"photo_id":"1376382005","filename":"file2"},{"photo_id":"1376382010","filename":"file4"},{"photo_id":"1376382003","filename":"file1"},{"photo_id":"1376382001","filename":"file0"},{"photo_id":"1376382008","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376382008":["hashtag1","hashtag2"]},{"1376382013":["hashtag1","hashtag2"]},{"1376382001":["hashtag1","hashtag2"]},{"1376382010":["hashtag1","hashtag2"]},{"1376382003":["hashtag1","hashtag2"]},{"1376382005":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376382008, 1376382013, 1376382001, 1376382010, 1376382003, 1376382005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.816686391830444 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:16:02.586733
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg', '/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg', '/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg
/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg
uploaded 0 photos
time to upload: 31.649402379989624 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:17:03.252657
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg', '/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg', '/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg
/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg
uploaded 0 photos
time to upload: 30.32356309890747 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:18:02.440382
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg', '/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg', '/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg
/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376382433","1376382409","1376382414","1376382411","1376382419","1376382416"],"photo_ids_order":["1376382409","1376382411","1376382414","1376382416","1376382419","1376382433"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b5bc23d78fb3c04f5a35b70af971d794.jpg","text":"TemporaryFile(/tmp/multipartBody2801155508917148131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878756746,"filename":"image_16062025_19_42_24_9941.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/90d48d3425b63c9f7c965dab6759e3d8.jpg","text":"TemporaryFile(/tmp/multipartBody7559758382497238471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878756746,"filename":"image_16062025_19_43_14_9963.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9b190df6ff4191cf3d31033453147954.jpg","text":"TemporaryFile(/tmp/multipartBody6666964608977108234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878756746,"filename":"image_16062025_19_42_54_9932.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/83ad62f57f1581463195ce153d710d94.jpg","text":"TemporaryFile(/tmp/multipartBody1589849676755618378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878756746,"filename":"image_16062025_19_43_04_10059.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/eff12833726f625e8f745a41ab0d50f4.jpg","text":"TemporaryFile(/tmp/multipartBody6842511273563069435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878756746,"filename":"image_16062025_19_42_34_10109.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/baed188f3f4a3cdbe9ac67788be56eef.jpg","text":"TemporaryFile(/tmp/multipartBody3532529877727645418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878756746,"filename":"image_16062025_19_42_44_9991.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376382414","file1":"1376382411","file0":"1376382409","file4":"1376382419","file5":"1376382433","file3":"1376382416"},"map_files_photo_id_array":[{"photo_id":"1376382433","filename":"file5"},{"photo_id":"1376382414","filename":"file2"},{"photo_id":"1376382419","filename":"file4"},{"photo_id":"1376382411","filename":"file1"},{"photo_id":"1376382409","filename":"file0"},{"photo_id":"1376382416","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376382433":["hashtag1","hashtag2"]},{"1376382409":["hashtag1","hashtag2"]},{"1376382414":["hashtag1","hashtag2"]},{"1376382411":["hashtag1","hashtag2"]},{"1376382419":["hashtag1","hashtag2"]},{"1376382416":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376382433, 1376382409, 1376382414, 1376382411, 1376382419, 1376382416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.71019744873047 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:19:03.116122
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/42/image_16062025_19_42_14_10120.jpg', 2), ('/mnt/data/16062025/19/41/image_16062025_19_42_04_10480.jpg', 2), ('/mnt/data/16062025/19/41/image_16062025_19_41_54_8927.jpg', 2), ('/mnt/data/16062025/19/41/image_16062025_19_41_45_10187.jpg', 2), ('/mnt/data/16062025/19/41/image_16062025_19_41_35_10182.jpg', 2), ('/mnt/data/16062025/19/41/image_16062025_19_41_24_10166.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/42/image_16062025_19_42_14_10120.jpg', '/mnt/data/16062025/19/41/image_16062025_19_42_04_10480.jpg', '/mnt/data/16062025/19/41/image_16062025_19_41_54_8927.jpg', '/mnt/data/16062025/19/41/image_16062025_19_41_45_10187.jpg', '/mnt/data/16062025/19/41/image_16062025_19_41_35_10182.jpg', '/mnt/data/16062025/19/41/image_16062025_19_41_24_10166.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/42/image_16062025_19_42_14_10120.jpg', '/mnt/data/16062025/19/41/image_16062025_19_42_04_10480.jpg', '/mnt/data/16062025/19/41/image_16062025_19_41_54_8927.jpg', '/mnt/data/16062025/19/41/image_16062025_19_41_45_10187.jpg', '/mnt/data/16062025/19/41/image_16062025_19_41_35_10182.jpg', '/mnt/data/16062025/19/41/image_16062025_19_41_24_10166.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/42/image_16062025_19_42_14_10120.jpg
/mnt/data/16062025/19/41/image_16062025_19_42_04_10480.jpg
/mnt/data/16062025/19/41/image_16062025_19_41_54_8927.jpg
/mnt/data/16062025/19/41/image_16062025_19_41_45_10187.jpg
/mnt/data/16062025/19/41/image_16062025_19_41_35_10182.jpg
/mnt/data/16062025/19/41/image_16062025_19_41_24_10166.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376382658","1376382663","1376382671","1376382674","1376382668","1376382665"],"photo_ids_order":["1376382658","1376382663","1376382665","1376382668","1376382671","1376382674"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e90e452b7c2f8d4e2b006ab52e8f576c.jpg","text":"TemporaryFile(/tmp/multipartBody8913708529119510189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878866315,"filename":"image_16062025_19_42_14_10120.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0d0e799c509c90b8c909dd05681e2966.jpg","text":"TemporaryFile(/tmp/multipartBody4494595198694599976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878866315,"filename":"image_16062025_19_42_04_10480.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bb570fe136b1ec2c533ebee480ad7bf6.jpg","text":"TemporaryFile(/tmp/multipartBody5700098694259666172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878866315,"filename":"image_16062025_19_41_35_10182.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e7d263412036a3a78ad272696a59b7fc.jpg","text":"TemporaryFile(/tmp/multipartBody1392489872899474128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878866315,"filename":"image_16062025_19_41_24_10166.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/44fb07db6c8b0597d1c1f0627659f742.jpg","text":"TemporaryFile(/tmp/multipartBody2566236552822098715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878866315,"filename":"image_16062025_19_41_45_10187.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1378746e7503811be8638ac4dc3667f4.jpg","text":"TemporaryFile(/tmp/multipartBody5183277650002407477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878866315,"filename":"image_16062025_19_41_54_8927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376382665","file1":"1376382663","file0":"1376382658","file4":"1376382671","file5":"1376382674","file3":"1376382668"},"map_files_photo_id_array":[{"photo_id":"1376382674","filename":"file5"},{"photo_id":"1376382665","filename":"file2"},{"photo_id":"1376382671","filename":"file4"},{"photo_id":"1376382663","filename":"file1"},{"photo_id":"1376382658","filename":"file0"},{"photo_id":"1376382668","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376382658":["hashtag1","hashtag2"]},{"1376382663":["hashtag1","hashtag2"]},{"1376382671":["hashtag1","hashtag2"]},{"1376382674":["hashtag1","hashtag2"]},{"1376382668":["hashtag1","hashtag2"]},{"1376382665":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376382658, 1376382663, 1376382671, 1376382674, 1376382668, 1376382665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.26951694488525 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:21:02.965588
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/41/image_16062025_19_41_14_10177.jpg', 2), ('/mnt/data/16062025/19/40/image_16062025_19_41_04_10309.jpg', 2), ('/mnt/data/16062025/19/40/image_16062025_19_40_54_10055.jpg', 2), ('/mnt/data/16062025/19/40/image_16062025_19_40_44_9943.jpg', 2), ('/mnt/data/16062025/19/40/image_16062025_19_40_34_9952.jpg', 2), ('/mnt/data/16062025/19/40/image_16062025_19_40_24_9975.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/41/image_16062025_19_41_14_10177.jpg', '/mnt/data/16062025/19/40/image_16062025_19_41_04_10309.jpg', '/mnt/data/16062025/19/40/image_16062025_19_40_54_10055.jpg', '/mnt/data/16062025/19/40/image_16062025_19_40_44_9943.jpg', '/mnt/data/16062025/19/40/image_16062025_19_40_34_9952.jpg', '/mnt/data/16062025/19/40/image_16062025_19_40_24_9975.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/41/image_16062025_19_41_14_10177.jpg', '/mnt/data/16062025/19/40/image_16062025_19_41_04_10309.jpg', '/mnt/data/16062025/19/40/image_16062025_19_40_54_10055.jpg', '/mnt/data/16062025/19/40/image_16062025_19_40_44_9943.jpg', '/mnt/data/16062025/19/40/image_16062025_19_40_34_9952.jpg', '/mnt/data/16062025/19/40/image_16062025_19_40_24_9975.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/41/image_16062025_19_41_14_10177.jpg
/mnt/data/16062025/19/40/image_16062025_19_41_04_10309.jpg
/mnt/data/16062025/19/40/image_16062025_19_40_54_10055.jpg
/mnt/data/16062025/19/40/image_16062025_19_40_44_9943.jpg
/mnt/data/16062025/19/40/image_16062025_19_40_34_9952.jpg
/mnt/data/16062025/19/40/image_16062025_19_40_24_9975.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376382691","1376382700","1376382693","1376382696","1376382698","1376382695"],"photo_ids_order":["1376382691","1376382693","1376382695","1376382696","1376382698","1376382700"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5e0904e70dfc138d6b8e1b157fac321c.jpg","text":"TemporaryFile(/tmp/multipartBody6409854423272409232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878942729,"filename":"image_16062025_19_41_14_10177.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8de9fef32f1f309345f2be3e9c96693d.jpg","text":"TemporaryFile(/tmp/multipartBody7571201694322942130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878942729,"filename":"image_16062025_19_40_24_9975.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ddcbc8470a56fc23da2f4aa30c69e7b6.jpg","text":"TemporaryFile(/tmp/multipartBody6289006741394772577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878942729,"filename":"image_16062025_19_41_04_10309.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dd4a03144abb9f1fa0f09095c1f9e246.jpg","text":"TemporaryFile(/tmp/multipartBody5647588025986404020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878942729,"filename":"image_16062025_19_40_44_9943.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/04e5bc2bcd7c8556e96665b7735a5ae5.jpg","text":"TemporaryFile(/tmp/multipartBody3574636360837665738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878942729,"filename":"image_16062025_19_40_34_9952.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4aabf4e72f0df3f8652e2b1d13aec39a.jpg","text":"TemporaryFile(/tmp/multipartBody8097153112720266715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754878942729,"filename":"image_16062025_19_40_54_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376382695","file1":"1376382693","file0":"1376382691","file4":"1376382698","file5":"1376382700","file3":"1376382696"},"map_files_photo_id_array":[{"photo_id":"1376382700","filename":"file5"},{"photo_id":"1376382695","filename":"file2"},{"photo_id":"1376382698","filename":"file4"},{"photo_id":"1376382693","filename":"file1"},{"photo_id":"1376382691","filename":"file0"},{"photo_id":"1376382696","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376382691":["hashtag1","hashtag2"]},{"1376382700":["hashtag1","hashtag2"]},{"1376382693":["hashtag1","hashtag2"]},{"1376382696":["hashtag1","hashtag2"]},{"1376382698":["hashtag1","hashtag2"]},{"1376382695":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376382691, 1376382700, 1376382693, 1376382696, 1376382698, 1376382695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.960235595703125 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:23:03.197472
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/40/image_16062025_19_40_14_10023.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_40_04_9055.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_39_55_9987.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_39_45_9999.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_39_35_9968.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_39_25_9978.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/40/image_16062025_19_40_14_10023.jpg', '/mnt/data/16062025/19/39/image_16062025_19_40_04_9055.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_55_9987.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_45_9999.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_35_9968.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_25_9978.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/40/image_16062025_19_40_14_10023.jpg', '/mnt/data/16062025/19/39/image_16062025_19_40_04_9055.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_55_9987.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_45_9999.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_35_9968.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_25_9978.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/40/image_16062025_19_40_14_10023.jpg
/mnt/data/16062025/19/39/image_16062025_19_40_04_9055.jpg
/mnt/data/16062025/19/39/image_16062025_19_39_55_9987.jpg
/mnt/data/16062025/19/39/image_16062025_19_39_45_9999.jpg
/mnt/data/16062025/19/39/image_16062025_19_39_35_9968.jpg
/mnt/data/16062025/19/39/image_16062025_19_39_25_9978.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.7083613872528 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:26:03.082132
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/40/image_16062025_19_40_14_10023.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_40_04_9055.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_39_55_9987.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_39_45_9999.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_39_35_9968.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_39_25_9978.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/40/image_16062025_19_40_14_10023.jpg', '/mnt/data/16062025/19/39/image_16062025_19_40_04_9055.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_55_9987.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_45_9999.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_35_9968.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_25_9978.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/40/image_16062025_19_40_14_10023.jpg', '/mnt/data/16062025/19/39/image_16062025_19_40_04_9055.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_55_9987.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_45_9999.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_35_9968.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_25_9978.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/40/image_16062025_19_40_14_10023.jpg
/mnt/data/16062025/19/39/image_16062025_19_40_04_9055.jpg
/mnt/data/16062025/19/39/image_16062025_19_39_55_9987.jpg
/mnt/data/16062025/19/39/image_16062025_19_39_45_9999.jpg
/mnt/data/16062025/19/39/image_16062025_19_39_35_9968.jpg
/mnt/data/16062025/19/39/image_16062025_19_39_25_9978.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376382800","1376382789","1376382797","1376382791","1376382794","1376382788"],"photo_ids_order":["1376382788","1376382789","1376382791","1376382794","1376382797","1376382800"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/539e4c4662cbbdaa1d40b2c173a97f78.jpg","text":"TemporaryFile(/tmp/multipartBody3605152130482624611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879232065,"filename":"image_16062025_19_39_25_9978.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b5c022d4756b0aa7d173301ce33d62ac.jpg","text":"TemporaryFile(/tmp/multipartBody5692301389672718595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879232065,"filename":"image_16062025_19_40_04_9055.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6268609bbfac0b3415b897c0e6ccf6ef.jpg","text":"TemporaryFile(/tmp/multipartBody8407227955914185381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879232065,"filename":"image_16062025_19_39_35_9968.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5b5a7403c118466b12a5bb361565da5b.jpg","text":"TemporaryFile(/tmp/multipartBody5994222438461884969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879232065,"filename":"image_16062025_19_39_55_9987.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/11f860cc3e3b9b55ead309df18e8c732.jpg","text":"TemporaryFile(/tmp/multipartBody7196324099707003979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879232065,"filename":"image_16062025_19_39_45_9999.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1688c4d718a6ff87cbe1a728644938fd.jpg","text":"TemporaryFile(/tmp/multipartBody457468521039514672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879232065,"filename":"image_16062025_19_40_14_10023.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376382791","file1":"1376382789","file0":"1376382788","file4":"1376382797","file5":"1376382800","file3":"1376382794"},"map_files_photo_id_array":[{"photo_id":"1376382800","filename":"file5"},{"photo_id":"1376382791","filename":"file2"},{"photo_id":"1376382797","filename":"file4"},{"photo_id":"1376382789","filename":"file1"},{"photo_id":"1376382788","filename":"file0"},{"photo_id":"1376382794","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376382800":["hashtag1","hashtag2"]},{"1376382789":["hashtag1","hashtag2"]},{"1376382797":["hashtag1","hashtag2"]},{"1376382791":["hashtag1","hashtag2"]},{"1376382794":["hashtag1","hashtag2"]},{"1376382788":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376382800, 1376382789, 1376382797, 1376382791, 1376382794, 1376382788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.77534556388855 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:27:02.740232
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/39/image_16062025_19_39_15_9971.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_39_05_10112.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_38_55_9963.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_38_45_9980.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_38_35_9980.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_38_25_9982.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/39/image_16062025_19_39_15_9971.jpg', '/mnt/data/16062025/19/38/image_16062025_19_39_05_10112.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_55_9963.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_45_9980.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_35_9980.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_25_9982.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/39/image_16062025_19_39_15_9971.jpg', '/mnt/data/16062025/19/38/image_16062025_19_39_05_10112.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_55_9963.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_45_9980.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_35_9980.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_25_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/39/image_16062025_19_39_15_9971.jpg
/mnt/data/16062025/19/38/image_16062025_19_39_05_10112.jpg
/mnt/data/16062025/19/38/image_16062025_19_38_55_9963.jpg
/mnt/data/16062025/19/38/image_16062025_19_38_45_9980.jpg
/mnt/data/16062025/19/38/image_16062025_19_38_35_9980.jpg
/mnt/data/16062025/19/38/image_16062025_19_38_25_9982.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 16.754093647003174 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:29:02.594140
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/39/image_16062025_19_39_15_9971.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_39_05_10112.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_38_55_9963.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_38_45_9980.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_38_35_9980.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_38_25_9982.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/39/image_16062025_19_39_15_9971.jpg', '/mnt/data/16062025/19/38/image_16062025_19_39_05_10112.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_55_9963.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_45_9980.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_35_9980.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_25_9982.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/39/image_16062025_19_39_15_9971.jpg', '/mnt/data/16062025/19/38/image_16062025_19_39_05_10112.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_55_9963.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_45_9980.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_35_9980.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_25_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/39/image_16062025_19_39_15_9971.jpg
/mnt/data/16062025/19/38/image_16062025_19_39_05_10112.jpg
/mnt/data/16062025/19/38/image_16062025_19_38_55_9963.jpg
/mnt/data/16062025/19/38/image_16062025_19_38_45_9980.jpg
/mnt/data/16062025/19/38/image_16062025_19_38_35_9980.jpg
/mnt/data/16062025/19/38/image_16062025_19_38_25_9982.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376382862","1376382865","1376382859","1376382867","1376382861","1376382863"],"photo_ids_order":["1376382859","1376382861","1376382862","1376382863","1376382865","1376382867"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8c64bfe4cba9c0157e7d6fa3557c9532.jpg","text":"TemporaryFile(/tmp/multipartBody4493219655171925644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879419390,"filename":"image_16062025_19_38_55_9963.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/052528eae50cf1207e4638f9da97c754.jpg","text":"TemporaryFile(/tmp/multipartBody3278248643435357470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879419390,"filename":"image_16062025_19_38_35_9980.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/44957c4f67b2eca5e6d8438e57d3e564.jpg","text":"TemporaryFile(/tmp/multipartBody2635039122940429950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879419390,"filename":"image_16062025_19_39_15_9971.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2fb0b83575d1f67391cf85c9551b16f7.jpg","text":"TemporaryFile(/tmp/multipartBody5956881207433677741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879419390,"filename":"image_16062025_19_38_25_9982.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0a166e83a30d9faa6bbd557d519bc6cc.jpg","text":"TemporaryFile(/tmp/multipartBody7704077049727076078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879419390,"filename":"image_16062025_19_39_05_10112.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bcc35c9e338456435eff1763114e4645.jpg","text":"TemporaryFile(/tmp/multipartBody4173502250613993025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879419390,"filename":"image_16062025_19_38_45_9980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376382862","file1":"1376382861","file0":"1376382859","file4":"1376382865","file5":"1376382867","file3":"1376382863"},"map_files_photo_id_array":[{"photo_id":"1376382867","filename":"file5"},{"photo_id":"1376382862","filename":"file2"},{"photo_id":"1376382865","filename":"file4"},{"photo_id":"1376382861","filename":"file1"},{"photo_id":"1376382859","filename":"file0"},{"photo_id":"1376382863","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376382862":["hashtag1","hashtag2"]},{"1376382865":["hashtag1","hashtag2"]},{"1376382859":["hashtag1","hashtag2"]},{"1376382867":["hashtag1","hashtag2"]},{"1376382861":["hashtag1","hashtag2"]},{"1376382863":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376382862, 1376382865, 1376382859, 1376382867, 1376382861, 1376382863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.27821230888367 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:30:02.712813
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', '/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', '/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg
/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg
uploaded 0 photos
time to upload: 30.394404888153076 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:31:02.343780
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', '/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', '/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg
/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg
uploaded 0 photos
time to upload: 30.308427333831787 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:32:02.319198
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', '/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', '/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg
/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 140.6188781261444 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:35:02.678277
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', '/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', '/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg
/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg
uploaded 0 photos
time to upload: 30.37700390815735 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:36:02.855543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', '/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', '/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg
/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376382985","1376382970","1376382972","1376382981","1376382977","1376382974"],"photo_ids_order":["1376382970","1376382972","1376382974","1376382977","1376382981","1376382985"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bdf3ae58a3bb3dcf31f49f5cf963eb11.jpg","text":"TemporaryFile(/tmp/multipartBody4739835678835605820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879841121,"filename":"image_16062025_19_37_24_10076.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/aa8a0d2cf597ea7216ead88cab7704ab.jpg","text":"TemporaryFile(/tmp/multipartBody5927719086765539672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879841121,"filename":"image_16062025_19_38_15_10025.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/435318761fe5062251820a0d663a1fe1.jpg","text":"TemporaryFile(/tmp/multipartBody5218814933976728586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879841121,"filename":"image_16062025_19_38_05_10365.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/919cddaf66a1180e33bb30cccdb1d78e.jpg","text":"TemporaryFile(/tmp/multipartBody5996636597610326973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879841121,"filename":"image_16062025_19_37_34_10109.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/47a484ce9e38629ecf64254ea410175b.jpg","text":"TemporaryFile(/tmp/multipartBody7185651517621808357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879841121,"filename":"image_16062025_19_37_44_10062.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/126b3ed1bcd2c846ca0d721e13820a1b.jpg","text":"TemporaryFile(/tmp/multipartBody2324751986739514204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754879841121,"filename":"image_16062025_19_37_54_10141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376382974","file1":"1376382972","file0":"1376382970","file4":"1376382981","file5":"1376382985","file3":"1376382977"},"map_files_photo_id_array":[{"photo_id":"1376382985","filename":"file5"},{"photo_id":"1376382974","filename":"file2"},{"photo_id":"1376382981","filename":"file4"},{"photo_id":"1376382972","filename":"file1"},{"photo_id":"1376382970","filename":"file0"},{"photo_id":"1376382977","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376382985":["hashtag1","hashtag2"]},{"1376382970":["hashtag1","hashtag2"]},{"1376382972":["hashtag1","hashtag2"]},{"1376382981":["hashtag1","hashtag2"]},{"1376382977":["hashtag1","hashtag2"]},{"1376382974":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376382985, 1376382970, 1376382972, 1376382981, 1376382977, 1376382974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.32638168334961 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:38:02.652492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg
/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 15.595817565917969 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:39:03.345677
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg
/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg
uploaded 0 photos
time to upload: 30.35895562171936 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:40:02.588970
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg
/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg
uploaded 0 photos
time to upload: 30.31947684288025 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:41:03.065132
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg
/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg
uploaded 0 photos
time to upload: 30.319167137145996 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:42:02.325286
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg
/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 18.28872799873352 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:43:02.945418
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg
/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 133.2480914592743 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:46:02.863718
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg
/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg
uploaded 0 photos
time to upload: 30.336707592010498 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:47:02.619117
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg
/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376383165","1376383170","1376383163","1376383172","1376383174","1376383168"],"photo_ids_order":["1376383163","1376383165","1376383168","1376383170","1376383172","1376383174"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5da8bda870aa346bbabec9d70d603644.jpg","text":"TemporaryFile(/tmp/multipartBody6295254132257782268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880496933,"filename":"image_16062025_19_37_04_10229.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/10c7fbfed87a3aeb7a2652340aad15db.jpg","text":"TemporaryFile(/tmp/multipartBody7650044845353260797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880496933,"filename":"image_16062025_19_36_44_10012.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/de23a017ceb6e3f6dc3b73aa2258983a.jpg","text":"TemporaryFile(/tmp/multipartBody8065955226611959905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880496933,"filename":"image_16062025_19_37_14_10033.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5dae3ed74efe9b14965259994b72560c.jpg","text":"TemporaryFile(/tmp/multipartBody6244857960117534452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880496933,"filename":"image_16062025_19_36_34_10001.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ac0d33d5675082604a3d8e2a5b894579.jpg","text":"TemporaryFile(/tmp/multipartBody4393869277976105903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880496933,"filename":"image_16062025_19_36_24_10018.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8bdea277de3cfb3bf69993023afb269e.jpg","text":"TemporaryFile(/tmp/multipartBody5663922652802560953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880496933,"filename":"image_16062025_19_36_54_9985.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376383168","file1":"1376383165","file0":"1376383163","file4":"1376383172","file5":"1376383174","file3":"1376383170"},"map_files_photo_id_array":[{"photo_id":"1376383174","filename":"file5"},{"photo_id":"1376383168","filename":"file2"},{"photo_id":"1376383172","filename":"file4"},{"photo_id":"1376383165","filename":"file1"},{"photo_id":"1376383163","filename":"file0"},{"photo_id":"1376383170","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376383165":["hashtag1","hashtag2"]},{"1376383170":["hashtag1","hashtag2"]},{"1376383163":["hashtag1","hashtag2"]},{"1376383172":["hashtag1","hashtag2"]},{"1376383174":["hashtag1","hashtag2"]},{"1376383168":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376383165, 1376383170, 1376383163, 1376383172, 1376383174, 1376383168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.52678394317627 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:48:02.420626
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/36/image_16062025_19_36_14_9982.jpg', 2), ('/mnt/data/16062025/19/35/image_16062025_19_36_04_9020.jpg', 2), ('/mnt/data/16062025/19/35/image_16062025_19_35_55_9930.jpg', 2), ('/mnt/data/16062025/19/35/image_16062025_19_35_45_11163.jpg', 2), ('/mnt/data/16062025/19/35/image_16062025_19_35_34_8845.jpg', 2), ('/mnt/data/16062025/19/35/image_16062025_19_35_25_9999.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/36/image_16062025_19_36_14_9982.jpg', '/mnt/data/16062025/19/35/image_16062025_19_36_04_9020.jpg', '/mnt/data/16062025/19/35/image_16062025_19_35_55_9930.jpg', '/mnt/data/16062025/19/35/image_16062025_19_35_45_11163.jpg', '/mnt/data/16062025/19/35/image_16062025_19_35_34_8845.jpg', '/mnt/data/16062025/19/35/image_16062025_19_35_25_9999.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/36/image_16062025_19_36_14_9982.jpg', '/mnt/data/16062025/19/35/image_16062025_19_36_04_9020.jpg', '/mnt/data/16062025/19/35/image_16062025_19_35_55_9930.jpg', '/mnt/data/16062025/19/35/image_16062025_19_35_45_11163.jpg', '/mnt/data/16062025/19/35/image_16062025_19_35_34_8845.jpg', '/mnt/data/16062025/19/35/image_16062025_19_35_25_9999.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/36/image_16062025_19_36_14_9982.jpg
/mnt/data/16062025/19/35/image_16062025_19_36_04_9020.jpg
/mnt/data/16062025/19/35/image_16062025_19_35_55_9930.jpg
/mnt/data/16062025/19/35/image_16062025_19_35_45_11163.jpg
/mnt/data/16062025/19/35/image_16062025_19_35_34_8845.jpg
/mnt/data/16062025/19/35/image_16062025_19_35_25_9999.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376383184","1376383198","1376383192","1376383186","1376383189","1376383183"],"photo_ids_order":["1376383183","1376383184","1376383186","1376383189","1376383192","1376383198"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3b38f5137d9851098cda0afdf0aa8393.jpg","text":"TemporaryFile(/tmp/multipartBody8346235211298797914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880565383,"filename":"image_16062025_19_36_04_9020.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/654ec155fddbecea07717fc56d3e66ec.jpg","text":"TemporaryFile(/tmp/multipartBody4233127838797352012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880565383,"filename":"image_16062025_19_35_25_9999.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ea0703abd24f5389cec8198d6722d2fb.jpg","text":"TemporaryFile(/tmp/multipartBody6235516215688795547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880565383,"filename":"image_16062025_19_35_34_8845.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/62a07b9e4996d97f8d8cb126a401c919.jpg","text":"TemporaryFile(/tmp/multipartBody4471307446633473924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880565383,"filename":"image_16062025_19_35_55_9930.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6f61394a0344fb04969571c12a6dce2c.jpg","text":"TemporaryFile(/tmp/multipartBody1249769885461074876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880565383,"filename":"image_16062025_19_35_45_11163.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5a0ddcb957e20cf8547958ededcf133f.jpg","text":"TemporaryFile(/tmp/multipartBody8112360326784207659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880565383,"filename":"image_16062025_19_36_14_9982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376383186","file1":"1376383184","file0":"1376383183","file4":"1376383192","file5":"1376383198","file3":"1376383189"},"map_files_photo_id_array":[{"photo_id":"1376383198","filename":"file5"},{"photo_id":"1376383186","filename":"file2"},{"photo_id":"1376383192","filename":"file4"},{"photo_id":"1376383184","filename":"file1"},{"photo_id":"1376383183","filename":"file0"},{"photo_id":"1376383189","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376383184":["hashtag1","hashtag2"]},{"1376383198":["hashtag1","hashtag2"]},{"1376383192":["hashtag1","hashtag2"]},{"1376383186":["hashtag1","hashtag2"]},{"1376383189":["hashtag1","hashtag2"]},{"1376383183":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376383184, 1376383198, 1376383192, 1376383186, 1376383189, 1376383183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.995075941085815 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:50:02.254947
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/35/image_16062025_19_35_15_10031.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_35_05_10154.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_34_55_9997.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_34_45_9966.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_34_35_10032.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_34_25_10064.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/35/image_16062025_19_35_15_10031.jpg', '/mnt/data/16062025/19/34/image_16062025_19_35_05_10154.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_55_9997.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_45_9966.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_35_10032.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_25_10064.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/35/image_16062025_19_35_15_10031.jpg', '/mnt/data/16062025/19/34/image_16062025_19_35_05_10154.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_55_9997.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_45_9966.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_35_10032.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_25_10064.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/35/image_16062025_19_35_15_10031.jpg
/mnt/data/16062025/19/34/image_16062025_19_35_05_10154.jpg
/mnt/data/16062025/19/34/image_16062025_19_34_55_9997.jpg
/mnt/data/16062025/19/34/image_16062025_19_34_45_9966.jpg
/mnt/data/16062025/19/34/image_16062025_19_34_35_10032.jpg
/mnt/data/16062025/19/34/image_16062025_19_34_25_10064.jpg
uploaded 0 photos
time to upload: 30.40561294555664 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:51:03.020150
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/35/image_16062025_19_35_15_10031.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_35_05_10154.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_34_55_9997.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_34_45_9966.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_34_35_10032.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_34_25_10064.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/35/image_16062025_19_35_15_10031.jpg', '/mnt/data/16062025/19/34/image_16062025_19_35_05_10154.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_55_9997.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_45_9966.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_35_10032.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_25_10064.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/35/image_16062025_19_35_15_10031.jpg', '/mnt/data/16062025/19/34/image_16062025_19_35_05_10154.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_55_9997.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_45_9966.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_35_10032.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_25_10064.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/35/image_16062025_19_35_15_10031.jpg
/mnt/data/16062025/19/34/image_16062025_19_35_05_10154.jpg
/mnt/data/16062025/19/34/image_16062025_19_34_55_9997.jpg
/mnt/data/16062025/19/34/image_16062025_19_34_45_9966.jpg
/mnt/data/16062025/19/34/image_16062025_19_34_35_10032.jpg
/mnt/data/16062025/19/34/image_16062025_19_34_25_10064.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376383237","1376383239","1376383236","1376383241","1376383240","1376383234"],"photo_ids_order":["1376383234","1376383236","1376383237","1376383239","1376383240","1376383241"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/518aeff12ece59de18f939395ccd34d6.jpg","text":"TemporaryFile(/tmp/multipartBody9168436697950085335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880728922,"filename":"image_16062025_19_34_55_9997.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1ffc6818c5e791e21b28f4132e7c2198.jpg","text":"TemporaryFile(/tmp/multipartBody1529231780597059566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880728922,"filename":"image_16062025_19_34_45_9966.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/954513f3382caedd7f1b2e98ddd818c6.jpg","text":"TemporaryFile(/tmp/multipartBody1352635462111193792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880728922,"filename":"image_16062025_19_35_05_10154.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8bbf24b369fdc0ffb70a9b8d3d781895.jpg","text":"TemporaryFile(/tmp/multipartBody5206905854389586847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880728922,"filename":"image_16062025_19_34_25_10064.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2a3f658a3296240736c615bf29538ed8.jpg","text":"TemporaryFile(/tmp/multipartBody4729577116768366373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880728922,"filename":"image_16062025_19_34_35_10032.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8d52e3dd63307215bda3be88eee0d707.jpg","text":"TemporaryFile(/tmp/multipartBody5946499342447174245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754880728922,"filename":"image_16062025_19_35_15_10031.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376383237","file1":"1376383236","file0":"1376383234","file4":"1376383240","file5":"1376383241","file3":"1376383239"},"map_files_photo_id_array":[{"photo_id":"1376383241","filename":"file5"},{"photo_id":"1376383237","filename":"file2"},{"photo_id":"1376383240","filename":"file4"},{"photo_id":"1376383236","filename":"file1"},{"photo_id":"1376383234","filename":"file0"},{"photo_id":"1376383239","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376383237":["hashtag1","hashtag2"]},{"1376383239":["hashtag1","hashtag2"]},{"1376383236":["hashtag1","hashtag2"]},{"1376383241":["hashtag1","hashtag2"]},{"1376383240":["hashtag1","hashtag2"]},{"1376383234":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376383237, 1376383239, 1376383236, 1376383241, 1376383240, 1376383234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.91754770278931 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:52:02.285494
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 146.75558495521545 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:55:02.474492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 149.2545874118805 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 04:59:02.909781
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
uploaded 0 photos
time to upload: 30.314465761184692 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:00:02.955967
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
uploaded 0 photos
time to upload: 30.33820152282715 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:01:02.715381
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
uploaded 0 photos
time to upload: 30.305355310440063 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:02:03.051962
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 145.42197823524475 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:05:02.827847
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
uploaded 0 photos
time to upload: 30.320485591888428 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:06:03.233130
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
uploaded 0 photos
time to upload: 30.31544804573059 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:07:02.778036
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
uploaded 0 photos
time to upload: 30.314306497573853 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:08:02.735356
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
uploaded 0 photos
time to upload: 30.320810079574585 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:09:02.532545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
uploaded 0 photos
time to upload: 30.335824012756348 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:10:03.063622
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
uploaded 0 photos
time to upload: 30.332356452941895 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:11:02.809740
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376385207","1376385201","1376385209","1376385203","1376385205","1376385202"],"photo_ids_order":["1376385201","1376385202","1376385203","1376385205","1376385207","1376385209"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/404febced5545e183808611df6d50e26.jpg","text":"TemporaryFile(/tmp/multipartBody8711140756080945257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754881947325,"filename":"image_16062025_19_33_35_10155.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4a69e7ff2b32c60941c8241b1748fc2d.jpg","text":"TemporaryFile(/tmp/multipartBody39825146703017934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754881947325,"filename":"image_16062025_19_34_15_10164.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9d43c3dcec0e9d4c76e26cf0f0ef95ad.jpg","text":"TemporaryFile(/tmp/multipartBody2670460074430959451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754881947325,"filename":"image_16062025_19_33_25_10274.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ac77d19719b873d045742d8088ed29f9.jpg","text":"TemporaryFile(/tmp/multipartBody7368362978800416063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754881947325,"filename":"image_16062025_19_33_54_10189.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dae4e10b06f224f901c06746548c6f1f.jpg","text":"TemporaryFile(/tmp/multipartBody825711068479775236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754881947325,"filename":"image_16062025_19_33_44_9053.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bfa52d4a499b4c1197ae074389fe41b8.jpg","text":"TemporaryFile(/tmp/multipartBody5323499202429047105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754881947325,"filename":"image_16062025_19_34_04_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376385203","file1":"1376385202","file0":"1376385201","file4":"1376385207","file5":"1376385209","file3":"1376385205"},"map_files_photo_id_array":[{"photo_id":"1376385209","filename":"file5"},{"photo_id":"1376385203","filename":"file2"},{"photo_id":"1376385207","filename":"file4"},{"photo_id":"1376385202","filename":"file1"},{"photo_id":"1376385201","filename":"file0"},{"photo_id":"1376385205","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376385207":["hashtag1","hashtag2"]},{"1376385201":["hashtag1","hashtag2"]},{"1376385209":["hashtag1","hashtag2"]},{"1376385203":["hashtag1","hashtag2"]},{"1376385205":["hashtag1","hashtag2"]},{"1376385202":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376385207, 1376385201, 1376385209, 1376385203, 1376385205, 1376385202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.18691897392273 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:13:02.340605
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', '/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', '/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg
/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg
uploaded 0 photos
time to upload: 30.640854358673096 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:14:02.564089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', '/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', '/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg
/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg
uploaded 0 photos
time to upload: 30.33767318725586 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:15:02.330375
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', '/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', '/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg
/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg
uploaded 0 photos
time to upload: 30.322345972061157 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:16:02.946090
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', '/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', '/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg
/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376385272","1376385269","1376385277","1376385265","1376385267","1376385276"],"photo_ids_order":["1376385265","1376385267","1376385269","1376385272","1376385276","1376385277"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d09e8928c50fa1afbcf6451b5b0ba54f.jpg","text":"TemporaryFile(/tmp/multipartBody5106487368637354513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882248170,"filename":"image_16062025_19_32_44_9017.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/072cfe9958a56104ad249992e05355d6.jpg","text":"TemporaryFile(/tmp/multipartBody6924411008406926318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882248170,"filename":"image_16062025_19_32_54_10026.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/611c0a98c42250667bc30a3f89f5f787.jpg","text":"TemporaryFile(/tmp/multipartBody679910289362479961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882248170,"filename":"image_16062025_19_32_24_10104.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6a3ae3ed5679eee7616bde28099d026f.jpg","text":"TemporaryFile(/tmp/multipartBody665851456515664694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882248170,"filename":"image_16062025_19_33_14_10212.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/36654818f72980c07b104b603a1fc195.jpg","text":"TemporaryFile(/tmp/multipartBody4251556452258812196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882248170,"filename":"image_16062025_19_33_04_10415.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d9473a1c16ce3fceef9fd16dde306b87.jpg","text":"TemporaryFile(/tmp/multipartBody8662686211473626238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882248170,"filename":"image_16062025_19_32_35_10279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376385269","file1":"1376385267","file0":"1376385265","file4":"1376385276","file5":"1376385277","file3":"1376385272"},"map_files_photo_id_array":[{"photo_id":"1376385277","filename":"file5"},{"photo_id":"1376385269","filename":"file2"},{"photo_id":"1376385276","filename":"file4"},{"photo_id":"1376385267","filename":"file1"},{"photo_id":"1376385265","filename":"file0"},{"photo_id":"1376385272","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376385272":["hashtag1","hashtag2"]},{"1376385269":["hashtag1","hashtag2"]},{"1376385277":["hashtag1","hashtag2"]},{"1376385265":["hashtag1","hashtag2"]},{"1376385267":["hashtag1","hashtag2"]},{"1376385276":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376385272, 1376385269, 1376385277, 1376385265, 1376385267, 1376385276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.13659858703613 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:18:02.296722
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/32/image_16062025_19_32_14_10213.jpg', 2), ('/mnt/data/16062025/19/31/image_16062025_19_32_04_9353.jpg', 2), ('/mnt/data/16062025/19/31/image_16062025_19_31_55_10154.jpg', 2), ('/mnt/data/16062025/19/31/image_16062025_19_31_45_10297.jpg', 2), ('/mnt/data/16062025/19/31/image_16062025_19_31_34_10190.jpg', 2), ('/mnt/data/16062025/19/31/image_16062025_19_31_24_10209.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/32/image_16062025_19_32_14_10213.jpg', '/mnt/data/16062025/19/31/image_16062025_19_32_04_9353.jpg', '/mnt/data/16062025/19/31/image_16062025_19_31_55_10154.jpg', '/mnt/data/16062025/19/31/image_16062025_19_31_45_10297.jpg', '/mnt/data/16062025/19/31/image_16062025_19_31_34_10190.jpg', '/mnt/data/16062025/19/31/image_16062025_19_31_24_10209.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/32/image_16062025_19_32_14_10213.jpg', '/mnt/data/16062025/19/31/image_16062025_19_32_04_9353.jpg', '/mnt/data/16062025/19/31/image_16062025_19_31_55_10154.jpg', '/mnt/data/16062025/19/31/image_16062025_19_31_45_10297.jpg', '/mnt/data/16062025/19/31/image_16062025_19_31_34_10190.jpg', '/mnt/data/16062025/19/31/image_16062025_19_31_24_10209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/32/image_16062025_19_32_14_10213.jpg
/mnt/data/16062025/19/31/image_16062025_19_32_04_9353.jpg
/mnt/data/16062025/19/31/image_16062025_19_31_55_10154.jpg
/mnt/data/16062025/19/31/image_16062025_19_31_45_10297.jpg
/mnt/data/16062025/19/31/image_16062025_19_31_34_10190.jpg
/mnt/data/16062025/19/31/image_16062025_19_31_24_10209.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376385299","1376385295","1376385304","1376385297","1376385301","1376385294"],"photo_ids_order":["1376385294","1376385295","1376385297","1376385299","1376385301","1376385304"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/67e659e81e9a45fa7e6c322426656360.jpg","text":"TemporaryFile(/tmp/multipartBody5333520613651773054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882356224,"filename":"image_16062025_19_31_45_10297.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/63d14b0c11844091062dac7b7609832c.jpg","text":"TemporaryFile(/tmp/multipartBody1011474630629881850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882356224,"filename":"image_16062025_19_32_04_9353.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e2aead63a5ee21505eebcc18cdf59c1a.jpg","text":"TemporaryFile(/tmp/multipartBody6910620183106477799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882356224,"filename":"image_16062025_19_31_24_10209.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/becef999d4637fc048137e189047d446.jpg","text":"TemporaryFile(/tmp/multipartBody1861033984051880279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882356224,"filename":"image_16062025_19_31_55_10154.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/20afa3ec9c95f3448ead3410587c593f.jpg","text":"TemporaryFile(/tmp/multipartBody8234245769119330799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882356224,"filename":"image_16062025_19_31_34_10190.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ce8957af60d54b38c527c9f39b6df46a.jpg","text":"TemporaryFile(/tmp/multipartBody7329023796386959386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882356224,"filename":"image_16062025_19_32_14_10213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376385297","file1":"1376385295","file0":"1376385294","file4":"1376385301","file5":"1376385304","file3":"1376385299"},"map_files_photo_id_array":[{"photo_id":"1376385304","filename":"file5"},{"photo_id":"1376385297","filename":"file2"},{"photo_id":"1376385301","filename":"file4"},{"photo_id":"1376385295","filename":"file1"},{"photo_id":"1376385294","filename":"file0"},{"photo_id":"1376385299","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376385299":["hashtag1","hashtag2"]},{"1376385295":["hashtag1","hashtag2"]},{"1376385304":["hashtag1","hashtag2"]},{"1376385297":["hashtag1","hashtag2"]},{"1376385301":["hashtag1","hashtag2"]},{"1376385294":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376385299, 1376385295, 1376385304, 1376385297, 1376385301, 1376385294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.85796546936035 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:19:03.208551
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/31/image_16062025_19_31_14_10188.jpg', 2), ('/mnt/data/16062025/19/30/image_16062025_19_31_04_9061.jpg', 2), ('/mnt/data/16062025/19/30/image_16062025_19_30_55_10195.jpg', 2), ('/mnt/data/16062025/19/30/image_16062025_19_30_44_10278.jpg', 2), ('/mnt/data/16062025/19/30/image_16062025_19_30_34_10147.jpg', 2), ('/mnt/data/16062025/19/30/image_16062025_19_30_24_10206.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/31/image_16062025_19_31_14_10188.jpg', '/mnt/data/16062025/19/30/image_16062025_19_31_04_9061.jpg', '/mnt/data/16062025/19/30/image_16062025_19_30_55_10195.jpg', '/mnt/data/16062025/19/30/image_16062025_19_30_44_10278.jpg', '/mnt/data/16062025/19/30/image_16062025_19_30_34_10147.jpg', '/mnt/data/16062025/19/30/image_16062025_19_30_24_10206.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/31/image_16062025_19_31_14_10188.jpg', '/mnt/data/16062025/19/30/image_16062025_19_31_04_9061.jpg', '/mnt/data/16062025/19/30/image_16062025_19_30_55_10195.jpg', '/mnt/data/16062025/19/30/image_16062025_19_30_44_10278.jpg', '/mnt/data/16062025/19/30/image_16062025_19_30_34_10147.jpg', '/mnt/data/16062025/19/30/image_16062025_19_30_24_10206.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/31/image_16062025_19_31_14_10188.jpg
/mnt/data/16062025/19/30/image_16062025_19_31_04_9061.jpg
/mnt/data/16062025/19/30/image_16062025_19_30_55_10195.jpg
/mnt/data/16062025/19/30/image_16062025_19_30_44_10278.jpg
/mnt/data/16062025/19/30/image_16062025_19_30_34_10147.jpg
/mnt/data/16062025/19/30/image_16062025_19_30_24_10206.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376385321","1376385324","1376385326","1376385320","1376385322","1376385319"],"photo_ids_order":["1376385319","1376385320","1376385321","1376385322","1376385324","1376385326"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5c046c316e9c5bebd3bfe469e8465979.jpg","text":"TemporaryFile(/tmp/multipartBody3926479495447354306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882426016,"filename":"image_16062025_19_30_55_10195.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f03ce96590ec5c40ddfcadb582d4232c.jpg","text":"TemporaryFile(/tmp/multipartBody5067131736216574353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882426016,"filename":"image_16062025_19_30_34_10147.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/257be9af14db5d57647bd4c7839f07b4.jpg","text":"TemporaryFile(/tmp/multipartBody3170784714173176202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882426016,"filename":"image_16062025_19_30_24_10206.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b41778e66d149b1c20014594bbbf0844.jpg","text":"TemporaryFile(/tmp/multipartBody3542622737734646466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882426016,"filename":"image_16062025_19_31_04_9061.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0c352654ae27c62d77b895faa1c6695c.jpg","text":"TemporaryFile(/tmp/multipartBody8917767340793858998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882426016,"filename":"image_16062025_19_30_44_10278.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/44c275c9edd5cc33de2f542d68d5b34a.jpg","text":"TemporaryFile(/tmp/multipartBody8681867500043792082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882426016,"filename":"image_16062025_19_31_14_10188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376385321","file1":"1376385320","file0":"1376385319","file4":"1376385324","file5":"1376385326","file3":"1376385322"},"map_files_photo_id_array":[{"photo_id":"1376385326","filename":"file5"},{"photo_id":"1376385321","filename":"file2"},{"photo_id":"1376385324","filename":"file4"},{"photo_id":"1376385320","filename":"file1"},{"photo_id":"1376385319","filename":"file0"},{"photo_id":"1376385322","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376385321":["hashtag1","hashtag2"]},{"1376385324":["hashtag1","hashtag2"]},{"1376385326":["hashtag1","hashtag2"]},{"1376385320":["hashtag1","hashtag2"]},{"1376385322":["hashtag1","hashtag2"]},{"1376385319":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376385321, 1376385324, 1376385326, 1376385320, 1376385322, 1376385319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.45710253715515 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:21:02.838181
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', '/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', '/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg
/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 10.136574983596802 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:22:02.199202
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', '/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', '/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg
/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg
uploaded 0 photos
time to upload: 30.57390594482422 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:23:03.046139
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', '/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', '/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg
/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg
uploaded 0 photos
time to upload: 30.33617901802063 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:24:02.500675
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', '/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', '/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg
/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg
uploaded 0 photos
time to upload: 30.30103611946106 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:25:03.035929
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', '/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', '/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg
/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_44_10114.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_34_8888.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_25_10120.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376385461","1376385464","1376385452","1376385454","1376385463","1376385457"],"photo_ids_order":["1376385452","1376385454","1376385457","1376385461","1376385463","1376385464"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e8adae3f1410d807303d06866fa27a29.jpg","text":"TemporaryFile(/tmp/multipartBody1714530816161498588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882820993,"filename":"image_16062025_19_29_44_10114.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ff1ec37ba187e4688ae931a365a7b2c5.jpg","text":"TemporaryFile(/tmp/multipartBody6165694966028750397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882820993,"filename":"image_16062025_19_29_25_10120.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9ffbc6c0fa654d02451ec5ec98e73446.jpg","text":"TemporaryFile(/tmp/multipartBody6895624012194268260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882820993,"filename":"image_16062025_19_30_14_9036.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/43ab87ce4e222bad50084652288d53b6.jpg","text":"TemporaryFile(/tmp/multipartBody2981780608425424975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882820993,"filename":"image_16062025_19_30_05_10774.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cd25b4ca4f480cc417d72ef1b4f217af.jpg","text":"TemporaryFile(/tmp/multipartBody3324558836297091100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882820993,"filename":"image_16062025_19_29_34_8888.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/23d5235c257a1aab312bc156fc9f34e7.jpg","text":"TemporaryFile(/tmp/multipartBody2368092343581480551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754882820993,"filename":"image_16062025_19_29_54_10147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376385457","file1":"1376385454","file0":"1376385452","file4":"1376385463","file5":"1376385464","file3":"1376385461"},"map_files_photo_id_array":[{"photo_id":"1376385464","filename":"file5"},{"photo_id":"1376385457","filename":"file2"},{"photo_id":"1376385463","filename":"file4"},{"photo_id":"1376385454","filename":"file1"},{"photo_id":"1376385452","filename":"file0"},{"photo_id":"1376385461","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376385461":["hashtag1","hashtag2"]},{"1376385464":["hashtag1","hashtag2"]},{"1376385452":["hashtag1","hashtag2"]},{"1376385454":["hashtag1","hashtag2"]},{"1376385463":["hashtag1","hashtag2"]},{"1376385457":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376385461, 1376385464, 1376385452, 1376385454, 1376385463, 1376385457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.15024995803833 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:27:03.006008
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg
/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:28:03.098938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg
/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg
uploaded 0 photos
time to upload: 30.32585048675537 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:29:02.838980
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg
/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg
uploaded 0 photos
time to upload: 30.320929765701294 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:30:02.845495
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg
/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg
uploaded 0 photos
time to upload: 30.31859016418457 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:31:02.644065
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg
/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg
uploaded 0 photos
time to upload: 30.31262183189392 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:32:02.735429
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg
/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg
uploaded 0 photos
time to upload: 30.33654284477234 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:33:02.476349
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg
/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 146.02184057235718 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:36:02.459730
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg', '/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/29/image_16062025_19_29_15_10186.jpg
/mnt/data/16062025/19/28/image_16062025_19_29_05_10260.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_54_10104.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376385671","1376385674","1376385677","1376385664","1376385667","1376385669"],"photo_ids_order":["1376385664","1376385667","1376385669","1376385671","1376385674","1376385677"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ab9b0e4f455c86361f085e5d95934c34.jpg","text":"TemporaryFile(/tmp/multipartBody2074722551013060246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883445558,"filename":"image_16062025_19_28_44_10249.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/22994654a2ccc0983c4b7c000a2b4b62.jpg","text":"TemporaryFile(/tmp/multipartBody5332166054165733861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883445558,"filename":"image_16062025_19_28_34_10172.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a4885992dd5ccb440a03c5c805c9ad6f.jpg","text":"TemporaryFile(/tmp/multipartBody7860074107016510223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883445558,"filename":"image_16062025_19_28_24_8872.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/86d5c8624d9d7db104faadd53fad89a3.jpg","text":"TemporaryFile(/tmp/multipartBody3032303564367022032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883445558,"filename":"image_16062025_19_29_15_10186.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b1dcdb6b191e5ab79a827856f9a309df.jpg","text":"TemporaryFile(/tmp/multipartBody1481882898974628636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883445558,"filename":"image_16062025_19_29_05_10260.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cfbebf3cdf9d6fa5aefd5a950da73522.jpg","text":"TemporaryFile(/tmp/multipartBody7819866112324038487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883445558,"filename":"image_16062025_19_28_54_10104.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376385669","file1":"1376385667","file0":"1376385664","file4":"1376385674","file5":"1376385677","file3":"1376385671"},"map_files_photo_id_array":[{"photo_id":"1376385677","filename":"file5"},{"photo_id":"1376385669","filename":"file2"},{"photo_id":"1376385674","filename":"file4"},{"photo_id":"1376385667","filename":"file1"},{"photo_id":"1376385664","filename":"file0"},{"photo_id":"1376385671","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376385671":["hashtag1","hashtag2"]},{"1376385674":["hashtag1","hashtag2"]},{"1376385677":["hashtag1","hashtag2"]},{"1376385664":["hashtag1","hashtag2"]},{"1376385667":["hashtag1","hashtag2"]},{"1376385669":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376385671, 1376385674, 1376385677, 1376385664, 1376385667, 1376385669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.708672523498535 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:38:02.229023
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/28/image_16062025_19_28_15_10145.jpg', 2), ('/mnt/data/16062025/19/27/image_16062025_19_28_05_10204.jpg', 2), ('/mnt/data/16062025/19/27/image_16062025_19_27_54_10021.jpg', 2), ('/mnt/data/16062025/19/27/image_16062025_19_27_44_9976.jpg', 2), ('/mnt/data/16062025/19/27/image_16062025_19_27_34_10105.jpg', 2), ('/mnt/data/16062025/19/27/image_16062025_19_27_24_10146.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/28/image_16062025_19_28_15_10145.jpg', '/mnt/data/16062025/19/27/image_16062025_19_28_05_10204.jpg', '/mnt/data/16062025/19/27/image_16062025_19_27_54_10021.jpg', '/mnt/data/16062025/19/27/image_16062025_19_27_44_9976.jpg', '/mnt/data/16062025/19/27/image_16062025_19_27_34_10105.jpg', '/mnt/data/16062025/19/27/image_16062025_19_27_24_10146.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/28/image_16062025_19_28_15_10145.jpg', '/mnt/data/16062025/19/27/image_16062025_19_28_05_10204.jpg', '/mnt/data/16062025/19/27/image_16062025_19_27_54_10021.jpg', '/mnt/data/16062025/19/27/image_16062025_19_27_44_9976.jpg', '/mnt/data/16062025/19/27/image_16062025_19_27_34_10105.jpg', '/mnt/data/16062025/19/27/image_16062025_19_27_24_10146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/28/image_16062025_19_28_15_10145.jpg
/mnt/data/16062025/19/27/image_16062025_19_28_05_10204.jpg
/mnt/data/16062025/19/27/image_16062025_19_27_54_10021.jpg
/mnt/data/16062025/19/27/image_16062025_19_27_44_9976.jpg
/mnt/data/16062025/19/27/image_16062025_19_27_34_10105.jpg
/mnt/data/16062025/19/27/image_16062025_19_27_24_10146.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376385708","1376385698","1376385700","1376385703","1376385706","1376385696"],"photo_ids_order":["1376385696","1376385698","1376385700","1376385703","1376385706","1376385708"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e4833799b2df669627de300b5bc1fc9b.jpg","text":"TemporaryFile(/tmp/multipartBody3831655195690417368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883567706,"filename":"image_16062025_19_27_24_10146.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/76c89c14a6ae0ff6b23aa9de3d9cf65f.jpg","text":"TemporaryFile(/tmp/multipartBody7393701243391144385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883567706,"filename":"image_16062025_19_28_05_10204.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/81f8192836f257eebe854527bbbba77b.jpg","text":"TemporaryFile(/tmp/multipartBody238189285842677790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883567706,"filename":"image_16062025_19_27_54_10021.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a8197fe418aaea31ff0ed7b7a599466e.jpg","text":"TemporaryFile(/tmp/multipartBody8330540723490850588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883567706,"filename":"image_16062025_19_27_44_9976.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1cac95eab3b88876a469bc7523d06916.jpg","text":"TemporaryFile(/tmp/multipartBody10625913816207868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883567706,"filename":"image_16062025_19_27_34_10105.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/194c3dfbf8c1e4dbf2310f39a61a0e1c.jpg","text":"TemporaryFile(/tmp/multipartBody6957014795842236937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883567706,"filename":"image_16062025_19_28_15_10145.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376385700","file1":"1376385698","file0":"1376385696","file4":"1376385706","file5":"1376385708","file3":"1376385703"},"map_files_photo_id_array":[{"photo_id":"1376385708","filename":"file5"},{"photo_id":"1376385700","filename":"file2"},{"photo_id":"1376385706","filename":"file4"},{"photo_id":"1376385698","filename":"file1"},{"photo_id":"1376385696","filename":"file0"},{"photo_id":"1376385703","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376385708":["hashtag1","hashtag2"]},{"1376385698":["hashtag1","hashtag2"]},{"1376385700":["hashtag1","hashtag2"]},{"1376385703":["hashtag1","hashtag2"]},{"1376385706":["hashtag1","hashtag2"]},{"1376385696":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376385708, 1376385698, 1376385700, 1376385703, 1376385706, 1376385696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.03074979782104 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:40:03.042046
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/26/image_16062025_19_26_54_10079.jpg', 2), ('/mnt/data/16062025/19/26/image_16062025_19_26_44_10004.jpg', 2), ('/mnt/data/16062025/19/26/image_16062025_19_26_34_9943.jpg', 2), ('/mnt/data/16062025/19/26/image_16062025_19_26_24_9931.jpg', 2), ('/mnt/data/16062025/19/26/image_16062025_19_26_14_9952.jpg', 2), ('/mnt/data/16062025/19/25/image_16062025_19_26_04_10046.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/26/image_16062025_19_26_54_10079.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_44_10004.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_34_9943.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_24_9931.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_14_9952.jpg', '/mnt/data/16062025/19/25/image_16062025_19_26_04_10046.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/26/image_16062025_19_26_54_10079.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_44_10004.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_34_9943.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_24_9931.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_14_9952.jpg', '/mnt/data/16062025/19/25/image_16062025_19_26_04_10046.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/26/image_16062025_19_26_54_10079.jpg
/mnt/data/16062025/19/26/image_16062025_19_26_44_10004.jpg
/mnt/data/16062025/19/26/image_16062025_19_26_34_9943.jpg
/mnt/data/16062025/19/26/image_16062025_19_26_24_9931.jpg
/mnt/data/16062025/19/26/image_16062025_19_26_14_9952.jpg
/mnt/data/16062025/19/25/image_16062025_19_26_04_10046.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376385747","1376385740","1376385739","1376385742","1376385744","1376385738"],"photo_ids_order":["1376385738","1376385739","1376385740","1376385742","1376385744","1376385747"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/62c7f0e95d677492df7e95a308da2d41.jpg","text":"TemporaryFile(/tmp/multipartBody3251883513011585360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883676912,"filename":"image_16062025_19_26_04_10046.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2ef3d0cb9933697d590abe316d169bf7.jpg","text":"TemporaryFile(/tmp/multipartBody8384905221814730919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883676912,"filename":"image_16062025_19_26_34_9943.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/af153382c8bf7262eda490d2e6f845fa.jpg","text":"TemporaryFile(/tmp/multipartBody3184165036324861199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883676912,"filename":"image_16062025_19_26_44_10004.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b739ba0227a673039b613b0d908fdc4f.jpg","text":"TemporaryFile(/tmp/multipartBody357604288680588859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883676912,"filename":"image_16062025_19_26_24_9931.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0ccf58a61e05d93481f58f9ce7169c80.jpg","text":"TemporaryFile(/tmp/multipartBody934279505970609430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883676912,"filename":"image_16062025_19_26_14_9952.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/71bfb7c8526d717e65742d1e3639e8fb.jpg","text":"TemporaryFile(/tmp/multipartBody7402072320408507119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883676912,"filename":"image_16062025_19_26_54_10079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376385740","file1":"1376385739","file0":"1376385738","file4":"1376385744","file5":"1376385747","file3":"1376385742"},"map_files_photo_id_array":[{"photo_id":"1376385747","filename":"file5"},{"photo_id":"1376385740","filename":"file2"},{"photo_id":"1376385744","filename":"file4"},{"photo_id":"1376385739","filename":"file1"},{"photo_id":"1376385738","filename":"file0"},{"photo_id":"1376385742","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376385747":["hashtag1","hashtag2"]},{"1376385740":["hashtag1","hashtag2"]},{"1376385739":["hashtag1","hashtag2"]},{"1376385742":["hashtag1","hashtag2"]},{"1376385744":["hashtag1","hashtag2"]},{"1376385738":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376385747, 1376385740, 1376385739, 1376385742, 1376385744, 1376385738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.59445333480835 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:41:02.992236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/25/image_16062025_19_25_54_9992.jpg', 2), ('/mnt/data/16062025/19/25/image_16062025_19_25_44_10119.jpg', 2), ('/mnt/data/16062025/19/25/image_16062025_19_25_34_8908.jpg', 2), ('/mnt/data/16062025/19/25/image_16062025_19_25_25_10173.jpg', 2), ('/mnt/data/16062025/19/25/image_16062025_19_25_15_10120.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_25_05_10311.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/25/image_16062025_19_25_54_9992.jpg', '/mnt/data/16062025/19/25/image_16062025_19_25_44_10119.jpg', '/mnt/data/16062025/19/25/image_16062025_19_25_34_8908.jpg', '/mnt/data/16062025/19/25/image_16062025_19_25_25_10173.jpg', '/mnt/data/16062025/19/25/image_16062025_19_25_15_10120.jpg', '/mnt/data/16062025/19/24/image_16062025_19_25_05_10311.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/25/image_16062025_19_25_54_9992.jpg', '/mnt/data/16062025/19/25/image_16062025_19_25_44_10119.jpg', '/mnt/data/16062025/19/25/image_16062025_19_25_34_8908.jpg', '/mnt/data/16062025/19/25/image_16062025_19_25_25_10173.jpg', '/mnt/data/16062025/19/25/image_16062025_19_25_15_10120.jpg', '/mnt/data/16062025/19/24/image_16062025_19_25_05_10311.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/25/image_16062025_19_25_54_9992.jpg
/mnt/data/16062025/19/25/image_16062025_19_25_44_10119.jpg
/mnt/data/16062025/19/25/image_16062025_19_25_34_8908.jpg
/mnt/data/16062025/19/25/image_16062025_19_25_25_10173.jpg
/mnt/data/16062025/19/25/image_16062025_19_25_15_10120.jpg
/mnt/data/16062025/19/24/image_16062025_19_25_05_10311.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376385764","1376385767","1376385772","1376385766","1376385769","1376385768"],"photo_ids_order":["1376385764","1376385766","1376385767","1376385768","1376385769","1376385772"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c1abc2262d7bc99bb45d61fd50e732c8.jpg","text":"TemporaryFile(/tmp/multipartBody6076699859738693039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883741511,"filename":"image_16062025_19_25_54_9992.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e06ab9ffaba29175d8f79be51ad13dfc.jpg","text":"TemporaryFile(/tmp/multipartBody3335168307936567358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883741511,"filename":"image_16062025_19_25_34_8908.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7185f9e997d5fd544200a9de82ccbf88.jpg","text":"TemporaryFile(/tmp/multipartBody4907146961970810062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883741511,"filename":"image_16062025_19_25_05_10311.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b2f82355d03c56110c6d4a6459fd2e9e.jpg","text":"TemporaryFile(/tmp/multipartBody4611409633600401544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883741511,"filename":"image_16062025_19_25_44_10119.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/52edae5762639f4d57d81decf2e1222a.jpg","text":"TemporaryFile(/tmp/multipartBody273904480654351838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883741511,"filename":"image_16062025_19_25_15_10120.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/915a65e137736bcde1c5b94a04fb5613.jpg","text":"TemporaryFile(/tmp/multipartBody6967701397778151269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883741511,"filename":"image_16062025_19_25_25_10173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376385767","file1":"1376385766","file0":"1376385764","file4":"1376385769","file5":"1376385772","file3":"1376385768"},"map_files_photo_id_array":[{"photo_id":"1376385772","filename":"file5"},{"photo_id":"1376385767","filename":"file2"},{"photo_id":"1376385769","filename":"file4"},{"photo_id":"1376385766","filename":"file1"},{"photo_id":"1376385764","filename":"file0"},{"photo_id":"1376385768","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376385764":["hashtag1","hashtag2"]},{"1376385767":["hashtag1","hashtag2"]},{"1376385772":["hashtag1","hashtag2"]},{"1376385766":["hashtag1","hashtag2"]},{"1376385769":["hashtag1","hashtag2"]},{"1376385768":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376385764, 1376385767, 1376385772, 1376385766, 1376385769, 1376385768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.57676362991333 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:43:02.468487
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/24/image_16062025_19_24_54_10089.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_24_44_10194.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_24_34_10109.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_24_24_10134.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_24_14_8904.jpg', 2), ('/mnt/data/16062025/19/23/image_16062025_19_24_05_10247.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/24/image_16062025_19_24_54_10089.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_44_10194.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_34_10109.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_24_10134.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_14_8904.jpg', '/mnt/data/16062025/19/23/image_16062025_19_24_05_10247.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/24/image_16062025_19_24_54_10089.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_44_10194.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_34_10109.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_24_10134.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_14_8904.jpg', '/mnt/data/16062025/19/23/image_16062025_19_24_05_10247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/24/image_16062025_19_24_54_10089.jpg
/mnt/data/16062025/19/24/image_16062025_19_24_44_10194.jpg
/mnt/data/16062025/19/24/image_16062025_19_24_34_10109.jpg
/mnt/data/16062025/19/24/image_16062025_19_24_24_10134.jpg
/mnt/data/16062025/19/24/image_16062025_19_24_14_8904.jpg
/mnt/data/16062025/19/23/image_16062025_19_24_05_10247.jpg
uploaded 0 photos
time to upload: 17.70770239830017 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:44:02.941512
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/24/image_16062025_19_24_54_10089.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_24_44_10194.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_24_34_10109.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_24_24_10134.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_24_14_8904.jpg', 2), ('/mnt/data/16062025/19/23/image_16062025_19_24_05_10247.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/24/image_16062025_19_24_54_10089.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_44_10194.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_34_10109.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_24_10134.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_14_8904.jpg', '/mnt/data/16062025/19/23/image_16062025_19_24_05_10247.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/24/image_16062025_19_24_54_10089.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_44_10194.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_34_10109.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_24_10134.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_14_8904.jpg', '/mnt/data/16062025/19/23/image_16062025_19_24_05_10247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/24/image_16062025_19_24_54_10089.jpg
/mnt/data/16062025/19/24/image_16062025_19_24_44_10194.jpg
/mnt/data/16062025/19/24/image_16062025_19_24_34_10109.jpg
/mnt/data/16062025/19/24/image_16062025_19_24_24_10134.jpg
/mnt/data/16062025/19/24/image_16062025_19_24_14_8904.jpg
/mnt/data/16062025/19/23/image_16062025_19_24_05_10247.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376385833","1376385815","1376385826","1376385829","1376385820","1376385823"],"photo_ids_order":["1376385815","1376385820","1376385823","1376385826","1376385829","1376385833"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ccbb1f3e9ed48eb4fe7275236d868dc0.jpg","text":"TemporaryFile(/tmp/multipartBody1274517166579835307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883922747,"filename":"image_16062025_19_24_05_10247.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bacde956b47855e47034621e87eb791e.jpg","text":"TemporaryFile(/tmp/multipartBody6176977077269330777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883922747,"filename":"image_16062025_19_24_54_10089.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/49c914c2c9367ac968df51863410b7a8.jpg","text":"TemporaryFile(/tmp/multipartBody8405061715968038670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883922747,"filename":"image_16062025_19_24_24_10134.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0f42039785e9b48d018a5937efcd9cc7.jpg","text":"TemporaryFile(/tmp/multipartBody5129476167153164249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883922747,"filename":"image_16062025_19_24_14_8904.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e6b2a23e21dc64c6bd2ca289a7d422b1.jpg","text":"TemporaryFile(/tmp/multipartBody3909877976739912447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883922747,"filename":"image_16062025_19_24_44_10194.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8c53f1a40fd94b7f0a9a399427d1ceed.jpg","text":"TemporaryFile(/tmp/multipartBody6836745595796386699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754883922747,"filename":"image_16062025_19_24_34_10109.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376385823","file1":"1376385820","file0":"1376385815","file4":"1376385829","file5":"1376385833","file3":"1376385826"},"map_files_photo_id_array":[{"photo_id":"1376385833","filename":"file5"},{"photo_id":"1376385823","filename":"file2"},{"photo_id":"1376385829","filename":"file4"},{"photo_id":"1376385820","filename":"file1"},{"photo_id":"1376385815","filename":"file0"},{"photo_id":"1376385826","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376385833":["hashtag1","hashtag2"]},{"1376385815":["hashtag1","hashtag2"]},{"1376385826":["hashtag1","hashtag2"]},{"1376385829":["hashtag1","hashtag2"]},{"1376385820":["hashtag1","hashtag2"]},{"1376385823":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376385833, 1376385815, 1376385826, 1376385829, 1376385820, 1376385823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.90267729759216 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:46:02.551578
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/23/image_16062025_19_23_55_10017.jpg', 2), ('/mnt/data/16062025/19/23/image_16062025_19_23_45_9956.jpg', 2), ('/mnt/data/16062025/19/23/image_16062025_19_23_35_10010.jpg', 2), ('/mnt/data/16062025/19/23/image_16062025_19_23_25_9949.jpg', 2), ('/mnt/data/16062025/19/23/image_16062025_19_23_15_9948.jpg', 2), ('/mnt/data/16062025/19/22/image_16062025_19_23_05_10156.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/23/image_16062025_19_23_55_10017.jpg', '/mnt/data/16062025/19/23/image_16062025_19_23_45_9956.jpg', '/mnt/data/16062025/19/23/image_16062025_19_23_35_10010.jpg', '/mnt/data/16062025/19/23/image_16062025_19_23_25_9949.jpg', '/mnt/data/16062025/19/23/image_16062025_19_23_15_9948.jpg', '/mnt/data/16062025/19/22/image_16062025_19_23_05_10156.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/23/image_16062025_19_23_55_10017.jpg', '/mnt/data/16062025/19/23/image_16062025_19_23_45_9956.jpg', '/mnt/data/16062025/19/23/image_16062025_19_23_35_10010.jpg', '/mnt/data/16062025/19/23/image_16062025_19_23_25_9949.jpg', '/mnt/data/16062025/19/23/image_16062025_19_23_15_9948.jpg', '/mnt/data/16062025/19/22/image_16062025_19_23_05_10156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/23/image_16062025_19_23_55_10017.jpg
/mnt/data/16062025/19/23/image_16062025_19_23_45_9956.jpg
/mnt/data/16062025/19/23/image_16062025_19_23_35_10010.jpg
/mnt/data/16062025/19/23/image_16062025_19_23_25_9949.jpg
/mnt/data/16062025/19/23/image_16062025_19_23_15_9948.jpg
/mnt/data/16062025/19/22/image_16062025_19_23_05_10156.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376385872","1376385869","1376385859","1376385867","1376385855","1376385864"],"photo_ids_order":["1376385855","1376385859","1376385864","1376385867","1376385869","1376385872"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/641a7dcbda31c3ebd8d4bd45267b6f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8660420665808900184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884038849,"filename":"image_16062025_19_23_05_10156.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c955078472ba5ced9f7189c01586e686.jpg","text":"TemporaryFile(/tmp/multipartBody4874596911501670341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884038849,"filename":"image_16062025_19_23_15_9948.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d79444cc799231f5d21bb6062303952c.jpg","text":"TemporaryFile(/tmp/multipartBody6758623825276726448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884038849,"filename":"image_16062025_19_23_45_9956.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/962de60d98838f631ae37569c6c72607.jpg","text":"TemporaryFile(/tmp/multipartBody3745132102602210788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884038849,"filename":"image_16062025_19_23_25_9949.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f599c35d906e06da7a81db569543ce2d.jpg","text":"TemporaryFile(/tmp/multipartBody2032794092400678545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884038849,"filename":"image_16062025_19_23_55_10017.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ce24aaad7753b5a03c69a7417e464490.jpg","text":"TemporaryFile(/tmp/multipartBody6818716043171901360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884038849,"filename":"image_16062025_19_23_35_10010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376385864","file1":"1376385859","file0":"1376385855","file4":"1376385869","file5":"1376385872","file3":"1376385867"},"map_files_photo_id_array":[{"photo_id":"1376385872","filename":"file5"},{"photo_id":"1376385864","filename":"file2"},{"photo_id":"1376385869","filename":"file4"},{"photo_id":"1376385859","filename":"file1"},{"photo_id":"1376385855","filename":"file0"},{"photo_id":"1376385867","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376385872":["hashtag1","hashtag2"]},{"1376385869":["hashtag1","hashtag2"]},{"1376385859":["hashtag1","hashtag2"]},{"1376385867":["hashtag1","hashtag2"]},{"1376385855":["hashtag1","hashtag2"]},{"1376385864":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376385872, 1376385869, 1376385859, 1376385867, 1376385855, 1376385864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.420549631118774 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:47:03.186981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/22/image_16062025_19_22_54_10003.jpg', 2), ('/mnt/data/16062025/19/22/image_16062025_19_22_44_9997.jpg', 2), ('/mnt/data/16062025/19/22/image_16062025_19_22_34_10002.jpg', 2), ('/mnt/data/16062025/19/22/image_16062025_19_22_24_10052.jpg', 2), ('/mnt/data/16062025/19/22/image_16062025_19_22_14_10077.jpg', 2), ('/mnt/data/16062025/19/21/image_16062025_19_22_04_10062.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/22/image_16062025_19_22_54_10003.jpg', '/mnt/data/16062025/19/22/image_16062025_19_22_44_9997.jpg', '/mnt/data/16062025/19/22/image_16062025_19_22_34_10002.jpg', '/mnt/data/16062025/19/22/image_16062025_19_22_24_10052.jpg', '/mnt/data/16062025/19/22/image_16062025_19_22_14_10077.jpg', '/mnt/data/16062025/19/21/image_16062025_19_22_04_10062.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/22/image_16062025_19_22_54_10003.jpg', '/mnt/data/16062025/19/22/image_16062025_19_22_44_9997.jpg', '/mnt/data/16062025/19/22/image_16062025_19_22_34_10002.jpg', '/mnt/data/16062025/19/22/image_16062025_19_22_24_10052.jpg', '/mnt/data/16062025/19/22/image_16062025_19_22_14_10077.jpg', '/mnt/data/16062025/19/21/image_16062025_19_22_04_10062.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/22/image_16062025_19_22_54_10003.jpg
/mnt/data/16062025/19/22/image_16062025_19_22_44_9997.jpg
/mnt/data/16062025/19/22/image_16062025_19_22_34_10002.jpg
/mnt/data/16062025/19/22/image_16062025_19_22_24_10052.jpg
/mnt/data/16062025/19/22/image_16062025_19_22_14_10077.jpg
/mnt/data/16062025/19/21/image_16062025_19_22_04_10062.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376385890","1376385892","1376385886","1376385880","1376385888","1376385882"],"photo_ids_order":["1376385880","1376385882","1376385886","1376385888","1376385890","1376385892"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5d4e948b9ea014fc9436163523178134.jpg","text":"TemporaryFile(/tmp/multipartBody8540919382941787478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884096757,"filename":"image_16062025_19_22_14_10077.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0a07d6511db6a8cc21168b56ff0fe878.jpg","text":"TemporaryFile(/tmp/multipartBody8937951897021587266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884096757,"filename":"image_16062025_19_22_04_10062.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c4033915eb5808c920b3ba89d4054108.jpg","text":"TemporaryFile(/tmp/multipartBody5652364722105843481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884096757,"filename":"image_16062025_19_22_34_10002.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ada00f62cf534a4879748a593cbab2bb.jpg","text":"TemporaryFile(/tmp/multipartBody8982372906425026919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884096757,"filename":"image_16062025_19_22_54_10003.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/04483d2fc59106151662f5958805c7dd.jpg","text":"TemporaryFile(/tmp/multipartBody6399078295118643256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884096757,"filename":"image_16062025_19_22_24_10052.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5fb2b340cd6a9f48267fec083bcfd9a2.jpg","text":"TemporaryFile(/tmp/multipartBody444073192393962676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884096757,"filename":"image_16062025_19_22_44_9997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376385886","file1":"1376385882","file0":"1376385880","file4":"1376385890","file5":"1376385892","file3":"1376385888"},"map_files_photo_id_array":[{"photo_id":"1376385892","filename":"file5"},{"photo_id":"1376385886","filename":"file2"},{"photo_id":"1376385890","filename":"file4"},{"photo_id":"1376385882","filename":"file1"},{"photo_id":"1376385880","filename":"file0"},{"photo_id":"1376385888","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376385890":["hashtag1","hashtag2"]},{"1376385892":["hashtag1","hashtag2"]},{"1376385886":["hashtag1","hashtag2"]},{"1376385880":["hashtag1","hashtag2"]},{"1376385888":["hashtag1","hashtag2"]},{"1376385882":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376385890, 1376385892, 1376385886, 1376385880, 1376385888, 1376385882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.08246850967407 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:48:02.399759
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/21/image_16062025_19_21_54_10001.jpg', 2), ('/mnt/data/16062025/19/21/image_16062025_19_21_44_9986.jpg', 2), ('/mnt/data/16062025/19/21/image_16062025_19_21_34_9950.jpg', 2), ('/mnt/data/16062025/19/21/image_16062025_19_21_24_10087.jpg', 2), ('/mnt/data/16062025/19/21/image_16062025_19_21_14_10086.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_21_04_10352.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/21/image_16062025_19_21_54_10001.jpg', '/mnt/data/16062025/19/21/image_16062025_19_21_44_9986.jpg', '/mnt/data/16062025/19/21/image_16062025_19_21_34_9950.jpg', '/mnt/data/16062025/19/21/image_16062025_19_21_24_10087.jpg', '/mnt/data/16062025/19/21/image_16062025_19_21_14_10086.jpg', '/mnt/data/16062025/19/20/image_16062025_19_21_04_10352.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/21/image_16062025_19_21_54_10001.jpg', '/mnt/data/16062025/19/21/image_16062025_19_21_44_9986.jpg', '/mnt/data/16062025/19/21/image_16062025_19_21_34_9950.jpg', '/mnt/data/16062025/19/21/image_16062025_19_21_24_10087.jpg', '/mnt/data/16062025/19/21/image_16062025_19_21_14_10086.jpg', '/mnt/data/16062025/19/20/image_16062025_19_21_04_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/21/image_16062025_19_21_54_10001.jpg
/mnt/data/16062025/19/21/image_16062025_19_21_44_9986.jpg
/mnt/data/16062025/19/21/image_16062025_19_21_34_9950.jpg
/mnt/data/16062025/19/21/image_16062025_19_21_24_10087.jpg
/mnt/data/16062025/19/21/image_16062025_19_21_14_10086.jpg
/mnt/data/16062025/19/20/image_16062025_19_21_04_10352.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376385903","1376385909","1376385902","1376385905","1376385913","1376385907"],"photo_ids_order":["1376385902","1376385903","1376385905","1376385907","1376385909","1376385913"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5677625a429736aadf2212441e17b764.jpg","text":"TemporaryFile(/tmp/multipartBody8752498805785596597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884159135,"filename":"image_16062025_19_21_44_9986.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/46f529885651d7fc504f5701759bcc8b.jpg","text":"TemporaryFile(/tmp/multipartBody7587084971347646425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884159135,"filename":"image_16062025_19_21_14_10086.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/28a62d4c54219ecff71d04452007b753.jpg","text":"TemporaryFile(/tmp/multipartBody2377540491807994227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884159135,"filename":"image_16062025_19_21_54_10001.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6eba8ad6acaa47e886766a3112e14373.jpg","text":"TemporaryFile(/tmp/multipartBody7946509511339960709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884159135,"filename":"image_16062025_19_21_34_9950.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0363b6832e5fdb3762e7815dff85be68.jpg","text":"TemporaryFile(/tmp/multipartBody8247824065351025482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884159135,"filename":"image_16062025_19_21_04_10352.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4eb2d15ee4f86ca0f9998f6e31e39930.jpg","text":"TemporaryFile(/tmp/multipartBody3069779807057138354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754884159135,"filename":"image_16062025_19_21_24_10087.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376385905","file1":"1376385903","file0":"1376385902","file4":"1376385909","file5":"1376385913","file3":"1376385907"},"map_files_photo_id_array":[{"photo_id":"1376385913","filename":"file5"},{"photo_id":"1376385905","filename":"file2"},{"photo_id":"1376385909","filename":"file4"},{"photo_id":"1376385903","filename":"file1"},{"photo_id":"1376385902","filename":"file0"},{"photo_id":"1376385907","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376385903":["hashtag1","hashtag2"]},{"1376385909":["hashtag1","hashtag2"]},{"1376385902":["hashtag1","hashtag2"]},{"1376385905":["hashtag1","hashtag2"]},{"1376385913":["hashtag1","hashtag2"]},{"1376385907":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376385903, 1376385909, 1376385902, 1376385905, 1376385913, 1376385907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.11995196342468 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:49:03.108768
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
uploaded 0 photos
time to upload: 32.37984371185303 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:50:02.386684
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 129.83022665977478 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:53:02.996563
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
uploaded 0 photos
time to upload: 30.33504557609558 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:54:02.364943
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
uploaded 0 photos
time to upload: 30.30803394317627 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:55:03.099347
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
uploaded 0 photos
time to upload: 30.31569266319275 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:56:02.344383
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
uploaded 0 photos
time to upload: 30.3282790184021 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:57:02.961128
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
uploaded 0 photos
time to upload: 30.327540397644043 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 05:59:02.632913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
uploaded 0 photos
time to upload: 30.33069658279419 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:00:02.892440
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
uploaded 0 photos
time to upload: 30.307889938354492 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:01:02.996469
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
uploaded 0 photos
time to upload: 30.357025384902954 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:02:02.579798
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
uploaded 0 photos
time to upload: 31.56915855407715 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:03:02.454130
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
uploaded 0 photos
time to upload: 30.302825689315796 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:04:02.561556
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376387810","1376387797","1376387695","1376387809","1376387763","1376387730"],"photo_ids_order":["1376387695","1376387730","1376387763","1376387797","1376387809","1376387810"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4a87b9e3a5bb17cfc3f1f14ac5c83ad8.jpg","text":"TemporaryFile(/tmp/multipartBody5292876006295147442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885131388,"filename":"image_16062025_19_20_04_9480.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5fc754a9acea1d2d993c935235c91367.jpg","text":"TemporaryFile(/tmp/multipartBody4722023631196073571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885131388,"filename":"image_16062025_19_20_24_10197.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/519cdd24238ba120f6366a78cbf404d2.jpg","text":"TemporaryFile(/tmp/multipartBody8047536866924649546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885131388,"filename":"image_16062025_19_20_54_10137.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a2d9b4b85058428e0e4a0992a7b12c3c.jpg","text":"TemporaryFile(/tmp/multipartBody448613130146107019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885131388,"filename":"image_16062025_19_20_14_10144.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0cfd8b205029b19ec18d4da8be56fe41.jpg","text":"TemporaryFile(/tmp/multipartBody5374324628172458463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885131388,"filename":"image_16062025_19_20_35_10341.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/df6d90629fafffc44dbcf3abc09f3eee.jpg","text":"TemporaryFile(/tmp/multipartBody6940035474547626308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885131388,"filename":"image_16062025_19_20_44_8975.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376387763","file1":"1376387730","file0":"1376387695","file4":"1376387809","file5":"1376387810","file3":"1376387797"},"map_files_photo_id_array":[{"photo_id":"1376387810","filename":"file5"},{"photo_id":"1376387763","filename":"file2"},{"photo_id":"1376387809","filename":"file4"},{"photo_id":"1376387730","filename":"file1"},{"photo_id":"1376387695","filename":"file0"},{"photo_id":"1376387797","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376387810":["hashtag1","hashtag2"]},{"1376387797":["hashtag1","hashtag2"]},{"1376387695":["hashtag1","hashtag2"]},{"1376387809":["hashtag1","hashtag2"]},{"1376387763":["hashtag1","hashtag2"]},{"1376387730":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376387810, 1376387797, 1376387695, 1376387809, 1376387763, 1376387730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.82721996307373 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:06:02.228716
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg', '/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg', '/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg
/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg
uploaded 0 photos
time to upload: 30.391224145889282 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:07:03.089681
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg', '/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg', '/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg
/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg
uploaded 0 photos
time to upload: 30.307048320770264 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:08:02.392264
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg', '/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg', '/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg
/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376388097","1376388106","1376388109","1376388100","1376388103","1376388116"],"photo_ids_order":["1376388097","1376388100","1376388103","1376388106","1376388109","1376388116"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1cb2f2cd13bf6c194c2b58950f21ed7e.jpg","text":"TemporaryFile(/tmp/multipartBody4626682941596419813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885380713,"filename":"image_16062025_19_19_55_10182.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f8524cbef3999dd69f8999b18f316e73.jpg","text":"TemporaryFile(/tmp/multipartBody7751117008115565480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885380713,"filename":"image_16062025_19_19_24_10161.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/321f4197d4c4926dc82447f20850e01b.jpg","text":"TemporaryFile(/tmp/multipartBody332635829295886206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885380713,"filename":"image_16062025_19_19_14_10128.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3d34f87c30a9626f11b2bbacb59397db.jpg","text":"TemporaryFile(/tmp/multipartBody6466770710940925730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885380713,"filename":"image_16062025_19_19_44_10161.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/33a193c81bc4a10771be914030107c09.jpg","text":"TemporaryFile(/tmp/multipartBody6970134311148379167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885380713,"filename":"image_16062025_19_19_34_9942.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c3d9f0f8451a8cfe257ef10a03fb090a.jpg","text":"TemporaryFile(/tmp/multipartBody4186356336892121287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885380713,"filename":"image_16062025_19_19_04_9309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376388103","file1":"1376388100","file0":"1376388097","file4":"1376388109","file5":"1376388116","file3":"1376388106"},"map_files_photo_id_array":[{"photo_id":"1376388116","filename":"file5"},{"photo_id":"1376388103","filename":"file2"},{"photo_id":"1376388109","filename":"file4"},{"photo_id":"1376388100","filename":"file1"},{"photo_id":"1376388097","filename":"file0"},{"photo_id":"1376388106","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376388097":["hashtag1","hashtag2"]},{"1376388106":["hashtag1","hashtag2"]},{"1376388109":["hashtag1","hashtag2"]},{"1376388100":["hashtag1","hashtag2"]},{"1376388103":["hashtag1","hashtag2"]},{"1376388116":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376388097, 1376388106, 1376388109, 1376388100, 1376388103, 1376388116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.92697143554688 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:10:02.505012
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', 2), ('/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', '/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', '/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg
/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg
uploaded 0 photos
time to upload: 30.424453735351562 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:11:03.391534
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', 2), ('/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', '/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', '/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg
/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg
uploaded 0 photos
time to upload: 30.30181646347046 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:12:02.451865
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', 2), ('/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', '/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', '/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg
/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 140.5281276702881 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:15:03.137026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', 2), ('/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', '/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', '/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg
/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg
uploaded 0 photos
time to upload: 30.34720730781555 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:16:02.428347
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', 2), ('/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', '/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', '/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg
/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376388283","1376388294","1376388297","1376388279","1376388287","1376388290"],"photo_ids_order":["1376388279","1376388283","1376388287","1376388290","1376388294","1376388297"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0a69ba970f5b8221c906bc3a951c8dff.jpg","text":"TemporaryFile(/tmp/multipartBody4043209703911268473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885844293,"filename":"image_16062025_19_18_45_10164.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/916f0ec35abb323377a9c37d723df2be.jpg","text":"TemporaryFile(/tmp/multipartBody72275056325000511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885844293,"filename":"image_16062025_19_18_14_10103.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/274da6791c261ecd20a04ac4bc21e557.jpg","text":"TemporaryFile(/tmp/multipartBody5356477431176638608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885844293,"filename":"image_16062025_19_18_04_9209.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/93a9ed16229dbc4477e79d0bdb12baec.jpg","text":"TemporaryFile(/tmp/multipartBody8236661659961523410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885844293,"filename":"image_16062025_19_18_55_10159.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f4a443c6594a0571a9374e655d04b788.jpg","text":"TemporaryFile(/tmp/multipartBody5234183078613037835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885844293,"filename":"image_16062025_19_18_34_10205.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9bbcdca63a442fb5c8d1ab98557a5da4.jpg","text":"TemporaryFile(/tmp/multipartBody5599719629041281308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885844293,"filename":"image_16062025_19_18_24_10174.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376388287","file1":"1376388283","file0":"1376388279","file4":"1376388294","file5":"1376388297","file3":"1376388290"},"map_files_photo_id_array":[{"photo_id":"1376388297","filename":"file5"},{"photo_id":"1376388287","filename":"file2"},{"photo_id":"1376388294","filename":"file4"},{"photo_id":"1376388283","filename":"file1"},{"photo_id":"1376388279","filename":"file0"},{"photo_id":"1376388290","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376388283":["hashtag1","hashtag2"]},{"1376388294":["hashtag1","hashtag2"]},{"1376388297":["hashtag1","hashtag2"]},{"1376388279":["hashtag1","hashtag2"]},{"1376388287":["hashtag1","hashtag2"]},{"1376388290":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376388283, 1376388294, 1376388297, 1376388279, 1376388287, 1376388290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.76161026954651 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:18:02.181834
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/17/image_16062025_19_17_55_10034.jpg', 2), ('/mnt/data/16062025/19/17/image_16062025_19_17_45_9969.jpg', 2), ('/mnt/data/16062025/19/17/image_16062025_19_17_35_10109.jpg', 2), ('/mnt/data/16062025/19/17/image_16062025_19_17_25_10056.jpg', 2), ('/mnt/data/16062025/19/17/image_16062025_19_17_14_10020.jpg', 2), ('/mnt/data/16062025/19/16/image_16062025_19_17_04_10220.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/17/image_16062025_19_17_55_10034.jpg', '/mnt/data/16062025/19/17/image_16062025_19_17_45_9969.jpg', '/mnt/data/16062025/19/17/image_16062025_19_17_35_10109.jpg', '/mnt/data/16062025/19/17/image_16062025_19_17_25_10056.jpg', '/mnt/data/16062025/19/17/image_16062025_19_17_14_10020.jpg', '/mnt/data/16062025/19/16/image_16062025_19_17_04_10220.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/17/image_16062025_19_17_55_10034.jpg', '/mnt/data/16062025/19/17/image_16062025_19_17_45_9969.jpg', '/mnt/data/16062025/19/17/image_16062025_19_17_35_10109.jpg', '/mnt/data/16062025/19/17/image_16062025_19_17_25_10056.jpg', '/mnt/data/16062025/19/17/image_16062025_19_17_14_10020.jpg', '/mnt/data/16062025/19/16/image_16062025_19_17_04_10220.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/17/image_16062025_19_17_55_10034.jpg
/mnt/data/16062025/19/17/image_16062025_19_17_45_9969.jpg
/mnt/data/16062025/19/17/image_16062025_19_17_35_10109.jpg
/mnt/data/16062025/19/17/image_16062025_19_17_25_10056.jpg
/mnt/data/16062025/19/17/image_16062025_19_17_14_10020.jpg
/mnt/data/16062025/19/16/image_16062025_19_17_04_10220.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376388351","1376388345","1376388339","1376388348","1376388342","1376388336"],"photo_ids_order":["1376388336","1376388339","1376388342","1376388345","1376388348","1376388351"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/263c37cda247ec3535a29003176128cb.jpg","text":"TemporaryFile(/tmp/multipartBody783318993382197808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885966871,"filename":"image_16062025_19_17_04_10220.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dfc44cc4a6b105cda402bcc538ba6867.jpg","text":"TemporaryFile(/tmp/multipartBody6776242587884722663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885966871,"filename":"image_16062025_19_17_25_10056.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/10c5840623bc301f05773f321bc73e94.jpg","text":"TemporaryFile(/tmp/multipartBody6714468081427801444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885966871,"filename":"image_16062025_19_17_45_9969.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e28e003ade48971b20926d997abea2b0.jpg","text":"TemporaryFile(/tmp/multipartBody4225183230413051137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885966871,"filename":"image_16062025_19_17_14_10020.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/eafe8db91f5b73c54f9db71c978941e2.jpg","text":"TemporaryFile(/tmp/multipartBody850759453383462808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885966871,"filename":"image_16062025_19_17_35_10109.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d19412b3dcd042b0047d7e2b8e4e9bd3.jpg","text":"TemporaryFile(/tmp/multipartBody6581150377753230228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754885966871,"filename":"image_16062025_19_17_55_10034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376388342","file1":"1376388339","file0":"1376388336","file4":"1376388348","file5":"1376388351","file3":"1376388345"},"map_files_photo_id_array":[{"photo_id":"1376388351","filename":"file5"},{"photo_id":"1376388342","filename":"file2"},{"photo_id":"1376388348","filename":"file4"},{"photo_id":"1376388339","filename":"file1"},{"photo_id":"1376388336","filename":"file0"},{"photo_id":"1376388345","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376388351":["hashtag1","hashtag2"]},{"1376388345":["hashtag1","hashtag2"]},{"1376388339":["hashtag1","hashtag2"]},{"1376388348":["hashtag1","hashtag2"]},{"1376388342":["hashtag1","hashtag2"]},{"1376388336":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376388351, 1376388345, 1376388339, 1376388348, 1376388342, 1376388336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.18592882156372 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:20:02.739786
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/16/image_16062025_19_16_54_9951.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg', 2), ('/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/16/image_16062025_19_16_54_9951.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg', '/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/16/image_16062025_19_16_54_9951.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg', '/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/16/image_16062025_19_16_54_9951.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg
/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg
uploaded 0 photos
time to upload: 30.37398910522461 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:21:03.139030
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/16/image_16062025_19_16_54_9951.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg', 2), ('/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/16/image_16062025_19_16_54_9951.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg', '/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/16/image_16062025_19_16_54_9951.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg', '/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/16/image_16062025_19_16_54_9951.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg
/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg
uploaded 0 photos
time to upload: 30.317625761032104 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:22:02.531414
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/16/image_16062025_19_16_54_9951.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg', 2), ('/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/16/image_16062025_19_16_54_9951.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg', '/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/16/image_16062025_19_16_54_9951.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg', '/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/16/image_16062025_19_16_54_9951.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg
/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376388466","1376388460","1376388457","1376388462","1376388455","1376388452"],"photo_ids_order":["1376388452","1376388455","1376388457","1376388460","1376388462","1376388466"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5a4403d3fc1e21e8a5ccadc1f2b98918.jpg","text":"TemporaryFile(/tmp/multipartBody1086802224596485036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886209251,"filename":"image_16062025_19_15_04_10211.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f002f22224d77c136a4622017bbd67c7.jpg","text":"TemporaryFile(/tmp/multipartBody2671473757361859927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886209251,"filename":"image_16062025_19_15_24_10120.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/84e04b415faf959be13a54b69846adac.jpg","text":"TemporaryFile(/tmp/multipartBody8960707406059026086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886209251,"filename":"image_16062025_19_15_34_10072.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/29389cebbef2d59035c8851d89657bc2.jpg","text":"TemporaryFile(/tmp/multipartBody7852465697304153314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886209251,"filename":"image_16062025_19_15_14_10007.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/69d53c5760ab185283b051acfa99e92f.jpg","text":"TemporaryFile(/tmp/multipartBody5777537476860389243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886209251,"filename":"image_16062025_19_15_44_9990.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ca30da9112d00fc8a5f308c156250899.jpg","text":"TemporaryFile(/tmp/multipartBody787843780600903775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886209251,"filename":"image_16062025_19_16_54_9951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376388457","file1":"1376388455","file0":"1376388452","file4":"1376388462","file5":"1376388466","file3":"1376388460"},"map_files_photo_id_array":[{"photo_id":"1376388466","filename":"file5"},{"photo_id":"1376388457","filename":"file2"},{"photo_id":"1376388462","filename":"file4"},{"photo_id":"1376388455","filename":"file1"},{"photo_id":"1376388452","filename":"file0"},{"photo_id":"1376388460","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376388466":["hashtag1","hashtag2"]},{"1376388460":["hashtag1","hashtag2"]},{"1376388457":["hashtag1","hashtag2"]},{"1376388462":["hashtag1","hashtag2"]},{"1376388455":["hashtag1","hashtag2"]},{"1376388452":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376388466, 1376388460, 1376388457, 1376388462, 1376388455, 1376388452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.33160185813904 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:24:02.263302
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/14/image_16062025_19_14_54_10056.jpg', 2), ('/mnt/data/16062025/19/14/image_16062025_19_14_44_9972.jpg', 2), ('/mnt/data/16062025/19/14/image_16062025_19_14_34_10027.jpg', 2), ('/mnt/data/16062025/19/14/image_16062025_19_14_24_10005.jpg', 2), ('/mnt/data/16062025/19/14/image_16062025_19_14_14_8878.jpg', 2), ('/mnt/data/16062025/19/13/image_16062025_19_14_05_10248.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/14/image_16062025_19_14_54_10056.jpg', '/mnt/data/16062025/19/14/image_16062025_19_14_44_9972.jpg', '/mnt/data/16062025/19/14/image_16062025_19_14_34_10027.jpg', '/mnt/data/16062025/19/14/image_16062025_19_14_24_10005.jpg', '/mnt/data/16062025/19/14/image_16062025_19_14_14_8878.jpg', '/mnt/data/16062025/19/13/image_16062025_19_14_05_10248.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/14/image_16062025_19_14_54_10056.jpg', '/mnt/data/16062025/19/14/image_16062025_19_14_44_9972.jpg', '/mnt/data/16062025/19/14/image_16062025_19_14_34_10027.jpg', '/mnt/data/16062025/19/14/image_16062025_19_14_24_10005.jpg', '/mnt/data/16062025/19/14/image_16062025_19_14_14_8878.jpg', '/mnt/data/16062025/19/13/image_16062025_19_14_05_10248.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/14/image_16062025_19_14_54_10056.jpg
/mnt/data/16062025/19/14/image_16062025_19_14_44_9972.jpg
/mnt/data/16062025/19/14/image_16062025_19_14_34_10027.jpg
/mnt/data/16062025/19/14/image_16062025_19_14_24_10005.jpg
/mnt/data/16062025/19/14/image_16062025_19_14_14_8878.jpg
/mnt/data/16062025/19/13/image_16062025_19_14_05_10248.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376388493","1376388498","1376388491","1376388503","1376388496","1376388499"],"photo_ids_order":["1376388491","1376388493","1376388496","1376388498","1376388499","1376388503"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/475c6a88fbc51d4836d61f051c7c9379.jpg","text":"TemporaryFile(/tmp/multipartBody6251556567270831597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886318653,"filename":"image_16062025_19_14_44_9972.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2d6548630770a819a67809e03ea547ad.jpg","text":"TemporaryFile(/tmp/multipartBody315730447830079306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886318653,"filename":"image_16062025_19_14_24_10005.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8ff0e99ec70e862373adf76820ea5419.jpg","text":"TemporaryFile(/tmp/multipartBody1957804100070054214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886318653,"filename":"image_16062025_19_14_54_10056.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7e0521a8b819f8132a008de00523a395.jpg","text":"TemporaryFile(/tmp/multipartBody6490798334090090974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886318653,"filename":"image_16062025_19_14_05_10248.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e2f6148813df545d2cf26fca1d88b692.jpg","text":"TemporaryFile(/tmp/multipartBody5510956564315372437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886318653,"filename":"image_16062025_19_14_34_10027.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/27ec3886642155229272eaa953199e2c.jpg","text":"TemporaryFile(/tmp/multipartBody6725364515552381523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886318653,"filename":"image_16062025_19_14_14_8878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376388496","file1":"1376388493","file0":"1376388491","file4":"1376388499","file5":"1376388503","file3":"1376388498"},"map_files_photo_id_array":[{"photo_id":"1376388503","filename":"file5"},{"photo_id":"1376388496","filename":"file2"},{"photo_id":"1376388499","filename":"file4"},{"photo_id":"1376388493","filename":"file1"},{"photo_id":"1376388491","filename":"file0"},{"photo_id":"1376388498","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376388493":["hashtag1","hashtag2"]},{"1376388498":["hashtag1","hashtag2"]},{"1376388491":["hashtag1","hashtag2"]},{"1376388503":["hashtag1","hashtag2"]},{"1376388496":["hashtag1","hashtag2"]},{"1376388499":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376388493, 1376388498, 1376388491, 1376388503, 1376388496, 1376388499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.38409113883972 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:25:02.924125
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/13/image_16062025_19_13_55_10063.jpg', 2), ('/mnt/data/16062025/19/13/image_16062025_19_13_45_10068.jpg', 2), ('/mnt/data/16062025/19/13/image_16062025_19_13_34_9994.jpg', 2), ('/mnt/data/16062025/19/13/image_16062025_19_13_24_10077.jpg', 2), ('/mnt/data/16062025/19/13/image_16062025_19_13_14_9955.jpg', 2), ('/mnt/data/16062025/19/12/image_16062025_19_13_04_10148.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/13/image_16062025_19_13_55_10063.jpg', '/mnt/data/16062025/19/13/image_16062025_19_13_45_10068.jpg', '/mnt/data/16062025/19/13/image_16062025_19_13_34_9994.jpg', '/mnt/data/16062025/19/13/image_16062025_19_13_24_10077.jpg', '/mnt/data/16062025/19/13/image_16062025_19_13_14_9955.jpg', '/mnt/data/16062025/19/12/image_16062025_19_13_04_10148.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/13/image_16062025_19_13_55_10063.jpg', '/mnt/data/16062025/19/13/image_16062025_19_13_45_10068.jpg', '/mnt/data/16062025/19/13/image_16062025_19_13_34_9994.jpg', '/mnt/data/16062025/19/13/image_16062025_19_13_24_10077.jpg', '/mnt/data/16062025/19/13/image_16062025_19_13_14_9955.jpg', '/mnt/data/16062025/19/12/image_16062025_19_13_04_10148.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/13/image_16062025_19_13_55_10063.jpg
/mnt/data/16062025/19/13/image_16062025_19_13_45_10068.jpg
/mnt/data/16062025/19/13/image_16062025_19_13_34_9994.jpg
/mnt/data/16062025/19/13/image_16062025_19_13_24_10077.jpg
/mnt/data/16062025/19/13/image_16062025_19_13_14_9955.jpg
/mnt/data/16062025/19/12/image_16062025_19_13_04_10148.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376388529","1376388531","1376388519","1376388534","1376388521","1376388527"],"photo_ids_order":["1376388519","1376388521","1376388527","1376388529","1376388531","1376388534"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a7329b15e438dd45b2e27ce03137f959.jpg","text":"TemporaryFile(/tmp/multipartBody8341939483547372313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886379792,"filename":"image_16062025_19_13_24_10077.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8600494e0cb0a8f7f466dd845b33e2bb.jpg","text":"TemporaryFile(/tmp/multipartBody5389599697363692398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886379792,"filename":"image_16062025_19_13_14_9955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0467295799434c26d76b1c10c8e698f1.jpg","text":"TemporaryFile(/tmp/multipartBody3184713787837976988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886379792,"filename":"image_16062025_19_13_55_10063.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/14c7fb6321f624f1a8a44961bb8747c9.jpg","text":"TemporaryFile(/tmp/multipartBody4532246368360578306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886379792,"filename":"image_16062025_19_13_04_10148.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/134ede348b801a42ab091e0cf6e65544.jpg","text":"TemporaryFile(/tmp/multipartBody2677747937304596078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886379792,"filename":"image_16062025_19_13_45_10068.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dfd12a8c3cfc178f2db68d5c1fc1dae6.jpg","text":"TemporaryFile(/tmp/multipartBody1283610988500112765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886379792,"filename":"image_16062025_19_13_34_9994.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376388527","file1":"1376388521","file0":"1376388519","file4":"1376388531","file5":"1376388534","file3":"1376388529"},"map_files_photo_id_array":[{"photo_id":"1376388534","filename":"file5"},{"photo_id":"1376388527","filename":"file2"},{"photo_id":"1376388531","filename":"file4"},{"photo_id":"1376388521","filename":"file1"},{"photo_id":"1376388519","filename":"file0"},{"photo_id":"1376388529","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376388529":["hashtag1","hashtag2"]},{"1376388531":["hashtag1","hashtag2"]},{"1376388519":["hashtag1","hashtag2"]},{"1376388534":["hashtag1","hashtag2"]},{"1376388521":["hashtag1","hashtag2"]},{"1376388527":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376388529, 1376388531, 1376388519, 1376388534, 1376388521, 1376388527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.801207065582275 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:26:03.013711
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/12/image_16062025_19_12_54_9926.jpg', 2), ('/mnt/data/16062025/19/12/image_16062025_19_12_44_9946.jpg', 2), ('/mnt/data/16062025/19/12/image_16062025_19_12_34_9920.jpg', 2), ('/mnt/data/16062025/19/12/image_16062025_19_12_24_9926.jpg', 2), ('/mnt/data/16062025/19/12/image_16062025_19_12_15_9940.jpg', 2), ('/mnt/data/16062025/19/11/image_16062025_19_12_05_10191.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/12/image_16062025_19_12_54_9926.jpg', '/mnt/data/16062025/19/12/image_16062025_19_12_44_9946.jpg', '/mnt/data/16062025/19/12/image_16062025_19_12_34_9920.jpg', '/mnt/data/16062025/19/12/image_16062025_19_12_24_9926.jpg', '/mnt/data/16062025/19/12/image_16062025_19_12_15_9940.jpg', '/mnt/data/16062025/19/11/image_16062025_19_12_05_10191.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/12/image_16062025_19_12_54_9926.jpg', '/mnt/data/16062025/19/12/image_16062025_19_12_44_9946.jpg', '/mnt/data/16062025/19/12/image_16062025_19_12_34_9920.jpg', '/mnt/data/16062025/19/12/image_16062025_19_12_24_9926.jpg', '/mnt/data/16062025/19/12/image_16062025_19_12_15_9940.jpg', '/mnt/data/16062025/19/11/image_16062025_19_12_05_10191.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/12/image_16062025_19_12_54_9926.jpg
/mnt/data/16062025/19/12/image_16062025_19_12_44_9946.jpg
/mnt/data/16062025/19/12/image_16062025_19_12_34_9920.jpg
/mnt/data/16062025/19/12/image_16062025_19_12_24_9926.jpg
/mnt/data/16062025/19/12/image_16062025_19_12_15_9940.jpg
/mnt/data/16062025/19/11/image_16062025_19_12_05_10191.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376388544","1376388547","1376388546","1376388549","1376388554","1376388551"],"photo_ids_order":["1376388544","1376388546","1376388547","1376388549","1376388551","1376388554"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fdf457fdda1e46ae1c85cbe72f77ad54.jpg","text":"TemporaryFile(/tmp/multipartBody7246558654712407341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886437830,"filename":"image_16062025_19_12_54_9926.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a19b500d8b73cae0afe906fcbbdde018.jpg","text":"TemporaryFile(/tmp/multipartBody664859511450559348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886437830,"filename":"image_16062025_19_12_34_9920.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/df9f4cfe650716366407d499f2055ddc.jpg","text":"TemporaryFile(/tmp/multipartBody3958565014563942924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886437830,"filename":"image_16062025_19_12_44_9946.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/83b3decd2e30dae1019fc1d6752b5c68.jpg","text":"TemporaryFile(/tmp/multipartBody7267883905860505350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886437830,"filename":"image_16062025_19_12_24_9926.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2723d16e01b6ce5613c012d826ea6908.jpg","text":"TemporaryFile(/tmp/multipartBody4501089888504867426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886437830,"filename":"image_16062025_19_12_05_10191.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d3dd2c8135bc89e1c9bd05cafd8e8edd.jpg","text":"TemporaryFile(/tmp/multipartBody6161735087205609230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886437830,"filename":"image_16062025_19_12_15_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376388547","file1":"1376388546","file0":"1376388544","file4":"1376388551","file5":"1376388554","file3":"1376388549"},"map_files_photo_id_array":[{"photo_id":"1376388554","filename":"file5"},{"photo_id":"1376388547","filename":"file2"},{"photo_id":"1376388551","filename":"file4"},{"photo_id":"1376388546","filename":"file1"},{"photo_id":"1376388544","filename":"file0"},{"photo_id":"1376388549","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376388544":["hashtag1","hashtag2"]},{"1376388547":["hashtag1","hashtag2"]},{"1376388546":["hashtag1","hashtag2"]},{"1376388549":["hashtag1","hashtag2"]},{"1376388554":["hashtag1","hashtag2"]},{"1376388551":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376388544, 1376388547, 1376388546, 1376388549, 1376388554, 1376388551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.90429472923279 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:27:02.562582
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/11/image_16062025_19_11_54_9960.jpg', 2), ('/mnt/data/16062025/19/11/image_16062025_19_11_44_9948.jpg', 2), ('/mnt/data/16062025/19/11/image_16062025_19_11_35_9960.jpg', 2), ('/mnt/data/16062025/19/11/image_16062025_19_11_25_9945.jpg', 2), ('/mnt/data/16062025/19/11/image_16062025_19_11_15_10035.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_11_05_10115.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/11/image_16062025_19_11_54_9960.jpg', '/mnt/data/16062025/19/11/image_16062025_19_11_44_9948.jpg', '/mnt/data/16062025/19/11/image_16062025_19_11_35_9960.jpg', '/mnt/data/16062025/19/11/image_16062025_19_11_25_9945.jpg', '/mnt/data/16062025/19/11/image_16062025_19_11_15_10035.jpg', '/mnt/data/16062025/19/10/image_16062025_19_11_05_10115.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/11/image_16062025_19_11_54_9960.jpg', '/mnt/data/16062025/19/11/image_16062025_19_11_44_9948.jpg', '/mnt/data/16062025/19/11/image_16062025_19_11_35_9960.jpg', '/mnt/data/16062025/19/11/image_16062025_19_11_25_9945.jpg', '/mnt/data/16062025/19/11/image_16062025_19_11_15_10035.jpg', '/mnt/data/16062025/19/10/image_16062025_19_11_05_10115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/11/image_16062025_19_11_54_9960.jpg
/mnt/data/16062025/19/11/image_16062025_19_11_44_9948.jpg
/mnt/data/16062025/19/11/image_16062025_19_11_35_9960.jpg
/mnt/data/16062025/19/11/image_16062025_19_11_25_9945.jpg
/mnt/data/16062025/19/11/image_16062025_19_11_15_10035.jpg
/mnt/data/16062025/19/10/image_16062025_19_11_05_10115.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376388571","1376388573","1376388564","1376388567","1376388569","1376388563"],"photo_ids_order":["1376388563","1376388564","1376388567","1376388569","1376388571","1376388573"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b40d6c920553ed0a1077efd2c19e3ea6.jpg","text":"TemporaryFile(/tmp/multipartBody2712900147757534216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886494846,"filename":"image_16062025_19_11_15_10035.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/01e73c575d2448472ffa925a59c9626d.jpg","text":"TemporaryFile(/tmp/multipartBody7384157244878823610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886494846,"filename":"image_16062025_19_11_05_10115.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/231bb62ba06e61debe24c36180a94271.jpg","text":"TemporaryFile(/tmp/multipartBody7602564050034280820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886494846,"filename":"image_16062025_19_11_44_9948.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/41edca0ae0b2dbe6802c1e285de4a491.jpg","text":"TemporaryFile(/tmp/multipartBody8156733208923122497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886494846,"filename":"image_16062025_19_11_35_9960.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8b512d41ee8c2d36120716af5030cce7.jpg","text":"TemporaryFile(/tmp/multipartBody5728347752263901120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886494846,"filename":"image_16062025_19_11_25_9945.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/115077796ce7e7b19d321f9f479843d0.jpg","text":"TemporaryFile(/tmp/multipartBody3753136092532968569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886494846,"filename":"image_16062025_19_11_54_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376388567","file1":"1376388564","file0":"1376388563","file4":"1376388571","file5":"1376388573","file3":"1376388569"},"map_files_photo_id_array":[{"photo_id":"1376388573","filename":"file5"},{"photo_id":"1376388567","filename":"file2"},{"photo_id":"1376388571","filename":"file4"},{"photo_id":"1376388564","filename":"file1"},{"photo_id":"1376388563","filename":"file0"},{"photo_id":"1376388569","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376388571":["hashtag1","hashtag2"]},{"1376388573":["hashtag1","hashtag2"]},{"1376388564":["hashtag1","hashtag2"]},{"1376388567":["hashtag1","hashtag2"]},{"1376388569":["hashtag1","hashtag2"]},{"1376388563":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376388571, 1376388573, 1376388564, 1376388567, 1376388569, 1376388563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.64649248123169 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:28:03.041174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/10/image_16062025_19_10_54_9987.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_10_44_9973.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_10_34_9942.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_10_25_9965.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_10_15_10040.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_10_05_10320.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/10/image_16062025_19_10_54_9987.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_44_9973.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_34_9942.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_25_9965.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_15_10040.jpg', '/mnt/data/16062025/19/09/image_16062025_19_10_05_10320.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/10/image_16062025_19_10_54_9987.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_44_9973.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_34_9942.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_25_9965.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_15_10040.jpg', '/mnt/data/16062025/19/09/image_16062025_19_10_05_10320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/10/image_16062025_19_10_54_9987.jpg
/mnt/data/16062025/19/10/image_16062025_19_10_44_9973.jpg
/mnt/data/16062025/19/10/image_16062025_19_10_34_9942.jpg
/mnt/data/16062025/19/10/image_16062025_19_10_25_9965.jpg
/mnt/data/16062025/19/10/image_16062025_19_10_15_10040.jpg
/mnt/data/16062025/19/09/image_16062025_19_10_05_10320.jpg
uploaded 0 photos
time to upload: 30.380216360092163 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:29:03.055214
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/10/image_16062025_19_10_54_9987.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_10_44_9973.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_10_34_9942.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_10_25_9965.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_10_15_10040.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_10_05_10320.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/10/image_16062025_19_10_54_9987.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_44_9973.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_34_9942.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_25_9965.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_15_10040.jpg', '/mnt/data/16062025/19/09/image_16062025_19_10_05_10320.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/10/image_16062025_19_10_54_9987.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_44_9973.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_34_9942.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_25_9965.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_15_10040.jpg', '/mnt/data/16062025/19/09/image_16062025_19_10_05_10320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/10/image_16062025_19_10_54_9987.jpg
/mnt/data/16062025/19/10/image_16062025_19_10_44_9973.jpg
/mnt/data/16062025/19/10/image_16062025_19_10_34_9942.jpg
/mnt/data/16062025/19/10/image_16062025_19_10_25_9965.jpg
/mnt/data/16062025/19/10/image_16062025_19_10_15_10040.jpg
/mnt/data/16062025/19/09/image_16062025_19_10_05_10320.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376388631","1376388622","1376388619","1376388615","1376388635","1376388617"],"photo_ids_order":["1376388615","1376388617","1376388619","1376388622","1376388631","1376388635"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8a3d84a0028c823a59d7a24099f79611.jpg","text":"TemporaryFile(/tmp/multipartBody1253657207808357072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886625687,"filename":"image_16062025_19_10_15_10040.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b06a489449d2c4d32539dac4f4ea266f.jpg","text":"TemporaryFile(/tmp/multipartBody2212978646205111025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886625687,"filename":"image_16062025_19_10_25_9965.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/535dd60fd35a79667a3db998f067d4f6.jpg","text":"TemporaryFile(/tmp/multipartBody15683384558766049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886625687,"filename":"image_16062025_19_10_34_9942.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/32db1a524e5ab2c3a61dab614b294b4f.jpg","text":"TemporaryFile(/tmp/multipartBody4592550124081360021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886625687,"filename":"image_16062025_19_10_54_9987.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b255343243552b441c051df141d17a51.jpg","text":"TemporaryFile(/tmp/multipartBody7335078129273491220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886625687,"filename":"image_16062025_19_10_05_10320.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4756d4f2ac59edb00bf5619544ee2ac8.jpg","text":"TemporaryFile(/tmp/multipartBody8811485694352259149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754886625687,"filename":"image_16062025_19_10_44_9973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376388619","file1":"1376388617","file0":"1376388615","file4":"1376388631","file5":"1376388635","file3":"1376388622"},"map_files_photo_id_array":[{"photo_id":"1376388635","filename":"file5"},{"photo_id":"1376388619","filename":"file2"},{"photo_id":"1376388631","filename":"file4"},{"photo_id":"1376388617","filename":"file1"},{"photo_id":"1376388615","filename":"file0"},{"photo_id":"1376388622","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376388631":["hashtag1","hashtag2"]},{"1376388622":["hashtag1","hashtag2"]},{"1376388619":["hashtag1","hashtag2"]},{"1376388615":["hashtag1","hashtag2"]},{"1376388635":["hashtag1","hashtag2"]},{"1376388617":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376388631, 1376388622, 1376388619, 1376388615, 1376388635, 1376388617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.288939476013184 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:31:02.747435
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', 2), ('/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', '/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', '/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg
/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg
uploaded 0 photos
time to upload: 30.437182426452637 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:32:03.212165
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', 2), ('/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', '/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', '/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg
/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg
uploaded 0 photos
time to upload: 30.360229969024658 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:33:03.343472
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', 2), ('/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', '/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', '/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg
/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 144.3706018924713 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:36:03.331362
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', 2), ('/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', '/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', '/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg
/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376388811","1376388808","1376388816","1376388825","1376388819","1376388804"],"photo_ids_order":["1376388804","1376388808","1376388811","1376388816","1376388819","1376388825"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d82273662c6511c84ece197d8cce4909.jpg","text":"TemporaryFile(/tmp/multipartBody7702720448744757279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887039904,"filename":"image_16062025_19_09_34_9636.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3d96559c5e8e6b1eb166c95a8242b73d.jpg","text":"TemporaryFile(/tmp/multipartBody761838529171787643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887039904,"filename":"image_16062025_19_09_44_10016.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/52406de115f15bedcaeb5648abe79912.jpg","text":"TemporaryFile(/tmp/multipartBody8500591345083551477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887039904,"filename":"image_16062025_19_09_25_10043.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b26f360003cf9bbce1b9e80eb2a644b8.jpg","text":"TemporaryFile(/tmp/multipartBody5687896057084033129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887039904,"filename":"image_16062025_19_09_04_10299.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/278ae683a708a98aba3b0b3f0b37c201.jpg","text":"TemporaryFile(/tmp/multipartBody8605171402469609763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887039904,"filename":"image_16062025_19_09_15_10249.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f66b20a3381af3c67fbfe33b92fbb380.jpg","text":"TemporaryFile(/tmp/multipartBody5080842112629680047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887039904,"filename":"image_16062025_19_09_54_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376388811","file1":"1376388808","file0":"1376388804","file4":"1376388819","file5":"1376388825","file3":"1376388816"},"map_files_photo_id_array":[{"photo_id":"1376388825","filename":"file5"},{"photo_id":"1376388811","filename":"file2"},{"photo_id":"1376388819","filename":"file4"},{"photo_id":"1376388808","filename":"file1"},{"photo_id":"1376388804","filename":"file0"},{"photo_id":"1376388816","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376388811":["hashtag1","hashtag2"]},{"1376388808":["hashtag1","hashtag2"]},{"1376388816":["hashtag1","hashtag2"]},{"1376388825":["hashtag1","hashtag2"]},{"1376388819":["hashtag1","hashtag2"]},{"1376388804":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376388811, 1376388808, 1376388816, 1376388825, 1376388819, 1376388804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.20932221412659 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:37:03.327575
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/08/image_16062025_19_08_54_9139.jpg', 2), ('/mnt/data/16062025/19/08/image_16062025_19_08_45_10245.jpg', 2), ('/mnt/data/16062025/19/08/image_16062025_19_08_35_10276.jpg', 2), ('/mnt/data/16062025/19/08/image_16062025_19_08_24_9988.jpg', 2), ('/mnt/data/16062025/19/08/image_16062025_19_08_14_10274.jpg', 2), ('/mnt/data/16062025/19/07/image_16062025_19_08_04_9214.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/08/image_16062025_19_08_54_9139.jpg', '/mnt/data/16062025/19/08/image_16062025_19_08_45_10245.jpg', '/mnt/data/16062025/19/08/image_16062025_19_08_35_10276.jpg', '/mnt/data/16062025/19/08/image_16062025_19_08_24_9988.jpg', '/mnt/data/16062025/19/08/image_16062025_19_08_14_10274.jpg', '/mnt/data/16062025/19/07/image_16062025_19_08_04_9214.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/08/image_16062025_19_08_54_9139.jpg', '/mnt/data/16062025/19/08/image_16062025_19_08_45_10245.jpg', '/mnt/data/16062025/19/08/image_16062025_19_08_35_10276.jpg', '/mnt/data/16062025/19/08/image_16062025_19_08_24_9988.jpg', '/mnt/data/16062025/19/08/image_16062025_19_08_14_10274.jpg', '/mnt/data/16062025/19/07/image_16062025_19_08_04_9214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/08/image_16062025_19_08_54_9139.jpg
/mnt/data/16062025/19/08/image_16062025_19_08_45_10245.jpg
/mnt/data/16062025/19/08/image_16062025_19_08_35_10276.jpg
/mnt/data/16062025/19/08/image_16062025_19_08_24_9988.jpg
/mnt/data/16062025/19/08/image_16062025_19_08_14_10274.jpg
/mnt/data/16062025/19/07/image_16062025_19_08_04_9214.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376388856","1376388859","1376388853","1376388867","1376388863","1376388857"],"photo_ids_order":["1376388853","1376388856","1376388857","1376388859","1376388863","1376388867"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d546401cee5ae2d83c5844e86755dda1.jpg","text":"TemporaryFile(/tmp/multipartBody3005308453479795714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887108645,"filename":"image_16062025_19_08_45_10245.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b1ee10fd218f6e3bf79a4f33949ba645.jpg","text":"TemporaryFile(/tmp/multipartBody5225664949856847288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887108645,"filename":"image_16062025_19_08_24_9988.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4712b4e3976374e7a44bd802ef03bfef.jpg","text":"TemporaryFile(/tmp/multipartBody7129266686978815148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887108645,"filename":"image_16062025_19_08_54_9139.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cbad33f8e5db7a1a49f25791b9d73f69.jpg","text":"TemporaryFile(/tmp/multipartBody945392999842700175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887108645,"filename":"image_16062025_19_08_04_9214.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/068dba7efb915604f955a5f7197209de.jpg","text":"TemporaryFile(/tmp/multipartBody5427618512320869715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887108645,"filename":"image_16062025_19_08_14_10274.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/be227ed3a3ff01d56cbdcefe2ac319c2.jpg","text":"TemporaryFile(/tmp/multipartBody3168826319193931956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887108645,"filename":"image_16062025_19_08_35_10276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376388857","file1":"1376388856","file0":"1376388853","file4":"1376388863","file5":"1376388867","file3":"1376388859"},"map_files_photo_id_array":[{"photo_id":"1376388867","filename":"file5"},{"photo_id":"1376388857","filename":"file2"},{"photo_id":"1376388863","filename":"file4"},{"photo_id":"1376388856","filename":"file1"},{"photo_id":"1376388853","filename":"file0"},{"photo_id":"1376388859","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376388856":["hashtag1","hashtag2"]},{"1376388859":["hashtag1","hashtag2"]},{"1376388853":["hashtag1","hashtag2"]},{"1376388867":["hashtag1","hashtag2"]},{"1376388863":["hashtag1","hashtag2"]},{"1376388857":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376388856, 1376388859, 1376388853, 1376388867, 1376388863, 1376388857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.85685467720032 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:39:02.835801
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/07/image_16062025_19_07_55_10137.jpg', 2), ('/mnt/data/16062025/19/07/image_16062025_19_07_45_9990.jpg', 2), ('/mnt/data/16062025/19/07/image_16062025_19_07_35_9930.jpg', 2), ('/mnt/data/16062025/19/07/image_16062025_19_07_25_9966.jpg', 2), ('/mnt/data/16062025/19/07/image_16062025_19_07_15_10020.jpg', 2), ('/mnt/data/16062025/19/06/image_16062025_19_07_05_10224.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/07/image_16062025_19_07_55_10137.jpg', '/mnt/data/16062025/19/07/image_16062025_19_07_45_9990.jpg', '/mnt/data/16062025/19/07/image_16062025_19_07_35_9930.jpg', '/mnt/data/16062025/19/07/image_16062025_19_07_25_9966.jpg', '/mnt/data/16062025/19/07/image_16062025_19_07_15_10020.jpg', '/mnt/data/16062025/19/06/image_16062025_19_07_05_10224.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/07/image_16062025_19_07_55_10137.jpg', '/mnt/data/16062025/19/07/image_16062025_19_07_45_9990.jpg', '/mnt/data/16062025/19/07/image_16062025_19_07_35_9930.jpg', '/mnt/data/16062025/19/07/image_16062025_19_07_25_9966.jpg', '/mnt/data/16062025/19/07/image_16062025_19_07_15_10020.jpg', '/mnt/data/16062025/19/06/image_16062025_19_07_05_10224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/07/image_16062025_19_07_55_10137.jpg
/mnt/data/16062025/19/07/image_16062025_19_07_45_9990.jpg
/mnt/data/16062025/19/07/image_16062025_19_07_35_9930.jpg
/mnt/data/16062025/19/07/image_16062025_19_07_25_9966.jpg
/mnt/data/16062025/19/07/image_16062025_19_07_15_10020.jpg
/mnt/data/16062025/19/06/image_16062025_19_07_05_10224.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376388925","1376388916","1376388927","1376388941","1376388920","1376388923"],"photo_ids_order":["1376388916","1376388920","1376388923","1376388925","1376388927","1376388941"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/44cbf680a52cea6e5fb51fa934f3b0f5.jpg","text":"TemporaryFile(/tmp/multipartBody8512020124081726828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887220125,"filename":"image_16062025_19_07_25_9966.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6b95423004130062cf4c9edb462c386d.jpg","text":"TemporaryFile(/tmp/multipartBody6851303762560190182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887220125,"filename":"image_16062025_19_07_55_10137.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9dca2cf1e711dbbb3135fb8f50cb8225.jpg","text":"TemporaryFile(/tmp/multipartBody7530830003834623547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887220125,"filename":"image_16062025_19_07_15_10020.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dce7c190497641a62e05275b5529be68.jpg","text":"TemporaryFile(/tmp/multipartBody5303139751833811429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887220125,"filename":"image_16062025_19_07_05_10224.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/24fd0776a3ed4698c4b82a8bb600347a.jpg","text":"TemporaryFile(/tmp/multipartBody3900370129195948262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887220125,"filename":"image_16062025_19_07_45_9990.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/15fce2a6b84c9f326bb3c932469ec1bc.jpg","text":"TemporaryFile(/tmp/multipartBody939530342487931527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887220125,"filename":"image_16062025_19_07_35_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376388923","file1":"1376388920","file0":"1376388916","file4":"1376388927","file5":"1376388941","file3":"1376388925"},"map_files_photo_id_array":[{"photo_id":"1376388941","filename":"file5"},{"photo_id":"1376388923","filename":"file2"},{"photo_id":"1376388927","filename":"file4"},{"photo_id":"1376388920","filename":"file1"},{"photo_id":"1376388916","filename":"file0"},{"photo_id":"1376388925","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376388925":["hashtag1","hashtag2"]},{"1376388916":["hashtag1","hashtag2"]},{"1376388927":["hashtag1","hashtag2"]},{"1376388941":["hashtag1","hashtag2"]},{"1376388920":["hashtag1","hashtag2"]},{"1376388923":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376388925, 1376388916, 1376388927, 1376388941, 1376388920, 1376388923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.20773983001709 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:40:02.419205
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/06/image_16062025_19_06_55_9963.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/06/image_16062025_19_06_55_9963.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/06/image_16062025_19_06_55_9963.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/06/image_16062025_19_06_55_9963.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg
/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 130.4903814792633 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:43:02.368427
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/06/image_16062025_19_06_55_9963.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/06/image_16062025_19_06_55_9963.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/06/image_16062025_19_06_55_9963.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/06/image_16062025_19_06_55_9963.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg
/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 132.3730924129486 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:46:03.326244
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/06/image_16062025_19_06_55_9963.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/19/06/image_16062025_19_06_55_9963.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/19/06/image_16062025_19_06_55_9963.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/06/image_16062025_19_06_55_9963.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg
/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376389144","1376389138","1376389158","1376389152","1376389148","1376389141"],"photo_ids_order":["1376389138","1376389141","1376389144","1376389148","1376389152","1376389158"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/51f715e357a3ec0f1da897b084da94ba.jpg","text":"TemporaryFile(/tmp/multipartBody8223925739306449451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887631894,"filename":"image_16062025_18_58_34_9931.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/870818e265354c21ddbdc21179b4d551.jpg","text":"TemporaryFile(/tmp/multipartBody8869566275912359651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887631894,"filename":"image_16062025_19_06_55_9963.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/17294cd2bfb91a60de532d8b767d8f50.jpg","text":"TemporaryFile(/tmp/multipartBody5127398401228834104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887631894,"filename":"image_16062025_18_58_05_10132.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/59507b0e3a56d1a2c7746de539606fd4.jpg","text":"TemporaryFile(/tmp/multipartBody7973675931509779087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887631894,"filename":"image_16062025_18_58_14_9956.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/472da0d7d3c53cc2f001a44664b80f4c.jpg","text":"TemporaryFile(/tmp/multipartBody3858904022238873747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887631894,"filename":"image_16062025_18_58_24_9952.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f81b0dec7d3c27eb24518a29fd0b5de6.jpg","text":"TemporaryFile(/tmp/multipartBody6592730340034220332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887631894,"filename":"image_16062025_18_58_44_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376389144","file1":"1376389141","file0":"1376389138","file4":"1376389152","file5":"1376389158","file3":"1376389148"},"map_files_photo_id_array":[{"photo_id":"1376389158","filename":"file5"},{"photo_id":"1376389144","filename":"file2"},{"photo_id":"1376389152","filename":"file4"},{"photo_id":"1376389141","filename":"file1"},{"photo_id":"1376389138","filename":"file0"},{"photo_id":"1376389148","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376389144":["hashtag1","hashtag2"]},{"1376389138":["hashtag1","hashtag2"]},{"1376389158":["hashtag1","hashtag2"]},{"1376389152":["hashtag1","hashtag2"]},{"1376389148":["hashtag1","hashtag2"]},{"1376389141":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376389144, 1376389138, 1376389158, 1376389152, 1376389148, 1376389141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.77351236343384 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:47:03.396522
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', '/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', '/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg
/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg
uploaded 0 photos
time to upload: 30.403873205184937 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:48:02.894224
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', '/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', '/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg
/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg
uploaded 0 photos
time to upload: 30.321935653686523 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:49:03.059378
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', '/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', '/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg
/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg
uploaded 0 photos
time to upload: 30.329196453094482 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:50:02.762370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', '/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', '/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg
/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg
uploaded 0 photos
time to upload: 31.354045391082764 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:51:02.865233
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', '/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg', '/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_34_10119.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_24_10159.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_14_9920.jpg
/mnt/data/16062025/18/56/image_16062025_18_57_04_10217.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376389342","1376389347","1376389335","1376389340","1376389337","1376389331"],"photo_ids_order":["1376389331","1376389335","1376389337","1376389340","1376389342","1376389347"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bf2dd36ff0a57ed8166900760734b3b4.jpg","text":"TemporaryFile(/tmp/multipartBody5857358389329115169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887942197,"filename":"image_16062025_18_57_14_9920.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e023e7649188a7d0c1640a977a76379f.jpg","text":"TemporaryFile(/tmp/multipartBody7069316793549908807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887942197,"filename":"image_16062025_18_57_04_10217.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e8fcb73f4a69023aa442c1ffb41fd9da.jpg","text":"TemporaryFile(/tmp/multipartBody8995781955798050990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887942197,"filename":"image_16062025_18_57_44_10000.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4149fc4c820a2f43e6d415a3b703f62f.jpg","text":"TemporaryFile(/tmp/multipartBody5077870130563021998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887942197,"filename":"image_16062025_18_57_24_10159.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d1194ced98f7264d09532832f1ac3ff9.jpg","text":"TemporaryFile(/tmp/multipartBody1431322206540740612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887942197,"filename":"image_16062025_18_57_34_10119.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d805a4e92fe775d12bcf2265385a81ad.jpg","text":"TemporaryFile(/tmp/multipartBody4398234205962903808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754887942197,"filename":"image_16062025_18_57_54_10163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376389337","file1":"1376389335","file0":"1376389331","file4":"1376389342","file5":"1376389347","file3":"1376389340"},"map_files_photo_id_array":[{"photo_id":"1376389347","filename":"file5"},{"photo_id":"1376389337","filename":"file2"},{"photo_id":"1376389342","filename":"file4"},{"photo_id":"1376389335","filename":"file1"},{"photo_id":"1376389331","filename":"file0"},{"photo_id":"1376389340","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376389342":["hashtag1","hashtag2"]},{"1376389347":["hashtag1","hashtag2"]},{"1376389335":["hashtag1","hashtag2"]},{"1376389340":["hashtag1","hashtag2"]},{"1376389337":["hashtag1","hashtag2"]},{"1376389331":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376389342, 1376389347, 1376389335, 1376389340, 1376389337, 1376389331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.737406492233276 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:53:03.223610
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', 2), ('/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg
/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 124.89040780067444 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:56:03.123118
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', 2), ('/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg
/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg
uploaded 0 photos
time to upload: 30.32880735397339 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:57:03.068089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', 2), ('/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg
/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 06:59:03.564368
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', 2), ('/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg
/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg
uploaded 0 photos
time to upload: 30.344318628311157 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:00:03.214025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', 2), ('/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg
/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg
uploaded 0 photos
time to upload: 30.303434133529663 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:01:03.299448
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', 2), ('/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg
/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg
uploaded 0 photos
time to upload: 30.3241605758667 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:02:02.587216
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', 2), ('/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg
/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg
uploaded 0 photos
time to upload: 31.372461080551147 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:03:02.868341
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', 2), ('/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg
/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 124.05532240867615 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:06:02.720523
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', 2), ('/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', 2), ('/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg', '/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg', '/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/56/image_16062025_18_56_54_10116.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_44_8921.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_35_10124.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_25_10088.jpg
/mnt/data/16062025/18/56/image_16062025_18_56_15_10112.jpg
/mnt/data/16062025/18/55/image_16062025_18_56_04_10249.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376391616","1376391588","1376391676","1376391583","1376391586","1376391580"],"photo_ids_order":["1376391580","1376391583","1376391586","1376391588","1376391616","1376391676"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8fb73b52572a79e364f66e72dce58923.jpg","text":"TemporaryFile(/tmp/multipartBody8492535292502761185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754888853772,"filename":"image_16062025_18_56_15_10112.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/132ddb625547988b7fa4af187904a048.jpg","text":"TemporaryFile(/tmp/multipartBody4832950072958916650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754888853772,"filename":"image_16062025_18_56_25_10088.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/adbeaf3b74382cdc76f7d3956beee022.jpg","text":"TemporaryFile(/tmp/multipartBody5956667621335446108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754888853772,"filename":"image_16062025_18_56_04_10249.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/33330312e2e2c8513685a120b4745c7e.jpg","text":"TemporaryFile(/tmp/multipartBody8491076522873236744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754888853772,"filename":"image_16062025_18_56_44_8921.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/eec9b88382ba74bd7bff2a9935cb41cb.jpg","text":"TemporaryFile(/tmp/multipartBody8398929980893135669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754888853772,"filename":"image_16062025_18_56_35_10124.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2de4f9146ee6a44c1b38eed5da4b6230.jpg","text":"TemporaryFile(/tmp/multipartBody6059830303298752640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754888853772,"filename":"image_16062025_18_56_54_10116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376391586","file1":"1376391583","file0":"1376391580","file4":"1376391616","file5":"1376391676","file3":"1376391588"},"map_files_photo_id_array":[{"photo_id":"1376391676","filename":"file5"},{"photo_id":"1376391586","filename":"file2"},{"photo_id":"1376391616","filename":"file4"},{"photo_id":"1376391583","filename":"file1"},{"photo_id":"1376391580","filename":"file0"},{"photo_id":"1376391588","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376391616":["hashtag1","hashtag2"]},{"1376391588":["hashtag1","hashtag2"]},{"1376391676":["hashtag1","hashtag2"]},{"1376391583":["hashtag1","hashtag2"]},{"1376391586":["hashtag1","hashtag2"]},{"1376391580":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376391616, 1376391588, 1376391676, 1376391583, 1376391586, 1376391580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.78846549987793 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:08:02.850100
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/55/image_16062025_18_55_54_9983.jpg', 2), ('/mnt/data/16062025/18/55/image_16062025_18_55_44_9974.jpg', 2), ('/mnt/data/16062025/18/55/image_16062025_18_55_34_10011.jpg', 2), ('/mnt/data/16062025/18/55/image_16062025_18_55_24_10054.jpg', 2), ('/mnt/data/16062025/18/55/image_16062025_18_55_14_9970.jpg', 2), ('/mnt/data/16062025/18/54/image_16062025_18_55_04_10150.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/55/image_16062025_18_55_54_9983.jpg', '/mnt/data/16062025/18/55/image_16062025_18_55_44_9974.jpg', '/mnt/data/16062025/18/55/image_16062025_18_55_34_10011.jpg', '/mnt/data/16062025/18/55/image_16062025_18_55_24_10054.jpg', '/mnt/data/16062025/18/55/image_16062025_18_55_14_9970.jpg', '/mnt/data/16062025/18/54/image_16062025_18_55_04_10150.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/55/image_16062025_18_55_54_9983.jpg', '/mnt/data/16062025/18/55/image_16062025_18_55_44_9974.jpg', '/mnt/data/16062025/18/55/image_16062025_18_55_34_10011.jpg', '/mnt/data/16062025/18/55/image_16062025_18_55_24_10054.jpg', '/mnt/data/16062025/18/55/image_16062025_18_55_14_9970.jpg', '/mnt/data/16062025/18/54/image_16062025_18_55_04_10150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/55/image_16062025_18_55_54_9983.jpg
/mnt/data/16062025/18/55/image_16062025_18_55_44_9974.jpg
/mnt/data/16062025/18/55/image_16062025_18_55_34_10011.jpg
/mnt/data/16062025/18/55/image_16062025_18_55_24_10054.jpg
/mnt/data/16062025/18/55/image_16062025_18_55_14_9970.jpg
/mnt/data/16062025/18/54/image_16062025_18_55_04_10150.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376392407","1376392472","1376392337","1376392439","1376392372","1376392306"],"photo_ids_order":["1376392306","1376392337","1376392372","1376392407","1376392439","1376392472"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e0dc4dab43eea63e55f2d3f87872df58.jpg","text":"TemporaryFile(/tmp/multipartBody8605649770796707483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754888952568,"filename":"image_16062025_18_55_24_10054.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7fb5394833ff828fd6db5d43df898a54.jpg","text":"TemporaryFile(/tmp/multipartBody5662416393867503277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754888952568,"filename":"image_16062025_18_55_04_10150.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1e8035bc10c42a12d172b3e0c8a8564f.jpg","text":"TemporaryFile(/tmp/multipartBody5161984912596673570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754888952568,"filename":"image_16062025_18_55_44_9974.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/906688d96d95c81c1b8547b1a87a2373.jpg","text":"TemporaryFile(/tmp/multipartBody1685596306169207325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754888952568,"filename":"image_16062025_18_55_14_9970.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6e8c81fbf90dd4b27c883e033e6d5713.jpg","text":"TemporaryFile(/tmp/multipartBody8538281072614415718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754888952568,"filename":"image_16062025_18_55_34_10011.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/56cbf33b39f52438b474028b9ee186c6.jpg","text":"TemporaryFile(/tmp/multipartBody4241594660943103055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754888952568,"filename":"image_16062025_18_55_54_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376392372","file1":"1376392337","file0":"1376392306","file4":"1376392439","file5":"1376392472","file3":"1376392407"},"map_files_photo_id_array":[{"photo_id":"1376392472","filename":"file5"},{"photo_id":"1376392372","filename":"file2"},{"photo_id":"1376392439","filename":"file4"},{"photo_id":"1376392337","filename":"file1"},{"photo_id":"1376392306","filename":"file0"},{"photo_id":"1376392407","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376392407":["hashtag1","hashtag2"]},{"1376392472":["hashtag1","hashtag2"]},{"1376392337":["hashtag1","hashtag2"]},{"1376392439":["hashtag1","hashtag2"]},{"1376392372":["hashtag1","hashtag2"]},{"1376392306":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376392407, 1376392472, 1376392337, 1376392439, 1376392372, 1376392306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.49657654762268 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:09:03.210257
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/54/image_16062025_18_54_54_9930.jpg', 2), ('/mnt/data/16062025/18/54/image_16062025_18_54_44_9992.jpg', 2), ('/mnt/data/16062025/18/54/image_16062025_18_54_34_9917.jpg', 2), ('/mnt/data/16062025/18/54/image_16062025_18_54_24_9935.jpg', 2), ('/mnt/data/16062025/18/54/image_16062025_18_54_14_9963.jpg', 2), ('/mnt/data/16062025/18/53/image_16062025_18_54_04_10131.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/54/image_16062025_18_54_54_9930.jpg', '/mnt/data/16062025/18/54/image_16062025_18_54_44_9992.jpg', '/mnt/data/16062025/18/54/image_16062025_18_54_34_9917.jpg', '/mnt/data/16062025/18/54/image_16062025_18_54_24_9935.jpg', '/mnt/data/16062025/18/54/image_16062025_18_54_14_9963.jpg', '/mnt/data/16062025/18/53/image_16062025_18_54_04_10131.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/54/image_16062025_18_54_54_9930.jpg', '/mnt/data/16062025/18/54/image_16062025_18_54_44_9992.jpg', '/mnt/data/16062025/18/54/image_16062025_18_54_34_9917.jpg', '/mnt/data/16062025/18/54/image_16062025_18_54_24_9935.jpg', '/mnt/data/16062025/18/54/image_16062025_18_54_14_9963.jpg', '/mnt/data/16062025/18/53/image_16062025_18_54_04_10131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/54/image_16062025_18_54_54_9930.jpg
/mnt/data/16062025/18/54/image_16062025_18_54_44_9992.jpg
/mnt/data/16062025/18/54/image_16062025_18_54_34_9917.jpg
/mnt/data/16062025/18/54/image_16062025_18_54_24_9935.jpg
/mnt/data/16062025/18/54/image_16062025_18_54_14_9963.jpg
/mnt/data/16062025/18/53/image_16062025_18_54_04_10131.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376392694","1376392688","1376392685","1376392699","1376392678","1376392702"],"photo_ids_order":["1376392678","1376392685","1376392688","1376392694","1376392699","1376392702"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/facedaa436a2fcadb1c22d7eda850c59.jpg","text":"TemporaryFile(/tmp/multipartBody8830422699103382585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889012512,"filename":"image_16062025_18_54_24_9935.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3b7c72b828d1171771d0fd1faeb35ba8.jpg","text":"TemporaryFile(/tmp/multipartBody7505271803352704676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889012512,"filename":"image_16062025_18_54_34_9917.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/060f8e6f0b0d171ccab62e41beae20e4.jpg","text":"TemporaryFile(/tmp/multipartBody7964688350931220182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889012512,"filename":"image_16062025_18_54_44_9992.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8fd830ff4f0ce9903cfe4a493e094171.jpg","text":"TemporaryFile(/tmp/multipartBody7575366913119942889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889012512,"filename":"image_16062025_18_54_14_9963.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/26ddf77705daaf9632b2f36227d9c74f.jpg","text":"TemporaryFile(/tmp/multipartBody2540476764763992005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889012512,"filename":"image_16062025_18_54_54_9930.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6cffa9476e4b2728207117c8aeafe86d.jpg","text":"TemporaryFile(/tmp/multipartBody610029991665151466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889012512,"filename":"image_16062025_18_54_04_10131.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376392688","file1":"1376392685","file0":"1376392678","file4":"1376392699","file5":"1376392702","file3":"1376392694"},"map_files_photo_id_array":[{"photo_id":"1376392702","filename":"file5"},{"photo_id":"1376392688","filename":"file2"},{"photo_id":"1376392699","filename":"file4"},{"photo_id":"1376392685","filename":"file1"},{"photo_id":"1376392678","filename":"file0"},{"photo_id":"1376392694","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376392694":["hashtag1","hashtag2"]},{"1376392688":["hashtag1","hashtag2"]},{"1376392685":["hashtag1","hashtag2"]},{"1376392699":["hashtag1","hashtag2"]},{"1376392678":["hashtag1","hashtag2"]},{"1376392702":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376392694, 1376392688, 1376392685, 1376392699, 1376392678, 1376392702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.81062722206116 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:10:03.358911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/53/image_16062025_18_53_54_9938.jpg', 2), ('/mnt/data/16062025/18/53/image_16062025_18_53_44_9944.jpg', 2), ('/mnt/data/16062025/18/53/image_16062025_18_53_34_9935.jpg', 2), ('/mnt/data/16062025/18/53/image_16062025_18_53_24_9954.jpg', 2), ('/mnt/data/16062025/18/53/image_16062025_18_53_14_10002.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_53_04_10372.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/53/image_16062025_18_53_54_9938.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_44_9944.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_34_9935.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_24_9954.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_14_10002.jpg', '/mnt/data/16062025/18/52/image_16062025_18_53_04_10372.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/53/image_16062025_18_53_54_9938.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_44_9944.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_34_9935.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_24_9954.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_14_10002.jpg', '/mnt/data/16062025/18/52/image_16062025_18_53_04_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/53/image_16062025_18_53_54_9938.jpg
/mnt/data/16062025/18/53/image_16062025_18_53_44_9944.jpg
/mnt/data/16062025/18/53/image_16062025_18_53_34_9935.jpg
/mnt/data/16062025/18/53/image_16062025_18_53_24_9954.jpg
/mnt/data/16062025/18/53/image_16062025_18_53_14_10002.jpg
/mnt/data/16062025/18/52/image_16062025_18_53_04_10372.jpg
uploaded 0 photos
time to upload: 31.19672465324402 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:11:03.320452
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/53/image_16062025_18_53_54_9938.jpg', 2), ('/mnt/data/16062025/18/53/image_16062025_18_53_44_9944.jpg', 2), ('/mnt/data/16062025/18/53/image_16062025_18_53_34_9935.jpg', 2), ('/mnt/data/16062025/18/53/image_16062025_18_53_24_9954.jpg', 2), ('/mnt/data/16062025/18/53/image_16062025_18_53_14_10002.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_53_04_10372.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/53/image_16062025_18_53_54_9938.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_44_9944.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_34_9935.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_24_9954.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_14_10002.jpg', '/mnt/data/16062025/18/52/image_16062025_18_53_04_10372.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/53/image_16062025_18_53_54_9938.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_44_9944.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_34_9935.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_24_9954.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_14_10002.jpg', '/mnt/data/16062025/18/52/image_16062025_18_53_04_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/53/image_16062025_18_53_54_9938.jpg
/mnt/data/16062025/18/53/image_16062025_18_53_44_9944.jpg
/mnt/data/16062025/18/53/image_16062025_18_53_34_9935.jpg
/mnt/data/16062025/18/53/image_16062025_18_53_24_9954.jpg
/mnt/data/16062025/18/53/image_16062025_18_53_14_10002.jpg
/mnt/data/16062025/18/52/image_16062025_18_53_04_10372.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376393039","1376393030","1376393026","1376393035","1376393043","1376393046"],"photo_ids_order":["1376393026","1376393030","1376393035","1376393039","1376393043","1376393046"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1b4bd8f697966f8f33cbda5953056fe9.jpg","text":"TemporaryFile(/tmp/multipartBody181881052856277434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889138888,"filename":"image_16062025_18_53_24_9954.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d79e93c1dae7d13bf666f35ae48648cf.jpg","text":"TemporaryFile(/tmp/multipartBody8171091507458607667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889138888,"filename":"image_16062025_18_53_44_9944.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3d1abac6e30c7bd7d737778741ff07ee.jpg","text":"TemporaryFile(/tmp/multipartBody1194467117358557607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889138888,"filename":"image_16062025_18_53_54_9938.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/097cfaff76d2824a8808910c253f17fc.jpg","text":"TemporaryFile(/tmp/multipartBody864384614729916890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889138888,"filename":"image_16062025_18_53_34_9935.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/14e3305745d16e3a94405ee8a09add1c.jpg","text":"TemporaryFile(/tmp/multipartBody6216407443403433606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889138888,"filename":"image_16062025_18_53_14_10002.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dff2740a5d02cbdb3f75686702a3d24d.jpg","text":"TemporaryFile(/tmp/multipartBody4403852337912958047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889138888,"filename":"image_16062025_18_53_04_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376393035","file1":"1376393030","file0":"1376393026","file4":"1376393043","file5":"1376393046","file3":"1376393039"},"map_files_photo_id_array":[{"photo_id":"1376393046","filename":"file5"},{"photo_id":"1376393035","filename":"file2"},{"photo_id":"1376393043","filename":"file4"},{"photo_id":"1376393030","filename":"file1"},{"photo_id":"1376393026","filename":"file0"},{"photo_id":"1376393039","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376393039":["hashtag1","hashtag2"]},{"1376393030":["hashtag1","hashtag2"]},{"1376393026":["hashtag1","hashtag2"]},{"1376393035":["hashtag1","hashtag2"]},{"1376393043":["hashtag1","hashtag2"]},{"1376393046":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376393039, 1376393030, 1376393026, 1376393035, 1376393043, 1376393046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.312360763549805 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:12:02.989768
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg', '/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg', '/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg
/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg
/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg
/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg
/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg
/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg
uploaded 0 photos
time to upload: 30.366841554641724 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:13:02.999511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg', '/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg', '/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg
/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg
/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg
/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg
/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg
/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg
uploaded 0 photos
time to upload: 30.557398319244385 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:14:02.781141
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg', '/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg', '/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg
/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg
/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg
/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg
/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg
/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376393159","1376393161","1376393146","1376393155","1376393137","1376393151"],"photo_ids_order":["1376393137","1376393146","1376393151","1376393155","1376393159","1376393161"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5dfefe9ffd216f9c683f38e56448ba10.jpg","text":"TemporaryFile(/tmp/multipartBody37480103394697325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889318305,"filename":"image_16062025_18_52_05_10143.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/914dc4d8f96c6fda351e27fb83021f0a.jpg","text":"TemporaryFile(/tmp/multipartBody8796618139330700228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889318305,"filename":"image_16062025_18_51_55_10032.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bd81bd151edd5b29832e3bbca50b91a4.jpg","text":"TemporaryFile(/tmp/multipartBody8998036784283077640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889318305,"filename":"image_16062025_18_52_34_10042.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bdfa3670cd5c25c0b835c48eba9e005e.jpg","text":"TemporaryFile(/tmp/multipartBody9078221615840803421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889318305,"filename":"image_16062025_18_52_14_8882.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/266eb3d718d0cddf18dbe15c4b079089.jpg","text":"TemporaryFile(/tmp/multipartBody3592703856012470636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889318305,"filename":"image_16062025_18_52_44_10057.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4803fa36ce3a6a868a6fc419f80da4ca.jpg","text":"TemporaryFile(/tmp/multipartBody2532322792656691196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889318305,"filename":"image_16062025_18_52_24_10072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376393151","file1":"1376393146","file0":"1376393137","file4":"1376393159","file5":"1376393161","file3":"1376393155"},"map_files_photo_id_array":[{"photo_id":"1376393161","filename":"file5"},{"photo_id":"1376393151","filename":"file2"},{"photo_id":"1376393159","filename":"file4"},{"photo_id":"1376393146","filename":"file1"},{"photo_id":"1376393137","filename":"file0"},{"photo_id":"1376393155","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376393159":["hashtag1","hashtag2"]},{"1376393161":["hashtag1","hashtag2"]},{"1376393146":["hashtag1","hashtag2"]},{"1376393155":["hashtag1","hashtag2"]},{"1376393137":["hashtag1","hashtag2"]},{"1376393151":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376393159, 1376393161, 1376393146, 1376393155, 1376393137, 1376393151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.88359308242798 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:15:02.895650
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/51/image_16062025_18_51_45_9959.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_51_35_10004.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_51_25_9975.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_51_15_9946.jpg', 2), ('/mnt/data/16062025/18/50/image_16062025_18_51_05_10141.jpg', 2), ('/mnt/data/16062025/18/50/image_16062025_18_50_55_9987.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/51/image_16062025_18_51_45_9959.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_35_10004.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_25_9975.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_15_9946.jpg', '/mnt/data/16062025/18/50/image_16062025_18_51_05_10141.jpg', '/mnt/data/16062025/18/50/image_16062025_18_50_55_9987.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/51/image_16062025_18_51_45_9959.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_35_10004.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_25_9975.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_15_9946.jpg', '/mnt/data/16062025/18/50/image_16062025_18_51_05_10141.jpg', '/mnt/data/16062025/18/50/image_16062025_18_50_55_9987.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/51/image_16062025_18_51_45_9959.jpg
/mnt/data/16062025/18/51/image_16062025_18_51_35_10004.jpg
/mnt/data/16062025/18/51/image_16062025_18_51_25_9975.jpg
/mnt/data/16062025/18/51/image_16062025_18_51_15_9946.jpg
/mnt/data/16062025/18/50/image_16062025_18_51_05_10141.jpg
/mnt/data/16062025/18/50/image_16062025_18_50_55_9987.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376393208","1376393198","1376393216","1376393219","1376393212","1376393203"],"photo_ids_order":["1376393198","1376393203","1376393208","1376393212","1376393216","1376393219"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2b24a4f6fc157e0ebd3b9090f14be278.jpg","text":"TemporaryFile(/tmp/multipartBody2649385824419913544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889380870,"filename":"image_16062025_18_51_25_9975.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/186508d0069cc6f90f4de0608c45e2cc.jpg","text":"TemporaryFile(/tmp/multipartBody605743707162522556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889380870,"filename":"image_16062025_18_51_45_9959.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4cfa041415a23fa32a1f292a91b44b92.jpg","text":"TemporaryFile(/tmp/multipartBody8605788614057074168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889380870,"filename":"image_16062025_18_51_05_10141.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/be52db81390bc9f6d25de4beb7278625.jpg","text":"TemporaryFile(/tmp/multipartBody5925104701536234539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889380870,"filename":"image_16062025_18_50_55_9987.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a93b7ab4011aa37afccac398512fabb9.jpg","text":"TemporaryFile(/tmp/multipartBody2234441245945540166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889380870,"filename":"image_16062025_18_51_15_9946.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/de833340f01f41303d89fab1e25f6bce.jpg","text":"TemporaryFile(/tmp/multipartBody8720548503171685310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889380870,"filename":"image_16062025_18_51_35_10004.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376393208","file1":"1376393203","file0":"1376393198","file4":"1376393216","file5":"1376393219","file3":"1376393212"},"map_files_photo_id_array":[{"photo_id":"1376393219","filename":"file5"},{"photo_id":"1376393208","filename":"file2"},{"photo_id":"1376393216","filename":"file4"},{"photo_id":"1376393203","filename":"file1"},{"photo_id":"1376393198","filename":"file0"},{"photo_id":"1376393212","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376393208":["hashtag1","hashtag2"]},{"1376393198":["hashtag1","hashtag2"]},{"1376393216":["hashtag1","hashtag2"]},{"1376393219":["hashtag1","hashtag2"]},{"1376393212":["hashtag1","hashtag2"]},{"1376393203":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376393208, 1376393198, 1376393216, 1376393219, 1376393212, 1376393203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.40083312988281 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:16:02.553157
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/50/image_16062025_18_50_45_9970.jpg', 2), ('/mnt/data/16062025/18/50/image_16062025_18_50_35_9953.jpg', 2), ('/mnt/data/16062025/18/50/image_16062025_18_50_25_9965.jpg', 2), ('/mnt/data/16062025/18/50/image_16062025_18_50_15_9990.jpg', 2), ('/mnt/data/16062025/18/49/image_16062025_18_50_05_10226.jpg', 2), ('/mnt/data/16062025/18/49/image_16062025_18_49_55_9901.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/50/image_16062025_18_50_45_9970.jpg', '/mnt/data/16062025/18/50/image_16062025_18_50_35_9953.jpg', '/mnt/data/16062025/18/50/image_16062025_18_50_25_9965.jpg', '/mnt/data/16062025/18/50/image_16062025_18_50_15_9990.jpg', '/mnt/data/16062025/18/49/image_16062025_18_50_05_10226.jpg', '/mnt/data/16062025/18/49/image_16062025_18_49_55_9901.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/50/image_16062025_18_50_45_9970.jpg', '/mnt/data/16062025/18/50/image_16062025_18_50_35_9953.jpg', '/mnt/data/16062025/18/50/image_16062025_18_50_25_9965.jpg', '/mnt/data/16062025/18/50/image_16062025_18_50_15_9990.jpg', '/mnt/data/16062025/18/49/image_16062025_18_50_05_10226.jpg', '/mnt/data/16062025/18/49/image_16062025_18_49_55_9901.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/50/image_16062025_18_50_45_9970.jpg
/mnt/data/16062025/18/50/image_16062025_18_50_35_9953.jpg
/mnt/data/16062025/18/50/image_16062025_18_50_25_9965.jpg
/mnt/data/16062025/18/50/image_16062025_18_50_15_9990.jpg
/mnt/data/16062025/18/49/image_16062025_18_50_05_10226.jpg
/mnt/data/16062025/18/49/image_16062025_18_49_55_9901.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376393247","1376393232","1376393249","1376393242","1376393251","1376393238"],"photo_ids_order":["1376393232","1376393238","1376393242","1376393247","1376393249","1376393251"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9e122c89bf3a3ed46aa8ba7836678d55.jpg","text":"TemporaryFile(/tmp/multipartBody956738492870936608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889438330,"filename":"image_16062025_18_50_15_9990.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/089d24a442d278d8a57eebe978baba17.jpg","text":"TemporaryFile(/tmp/multipartBody3610070539254827989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889438330,"filename":"image_16062025_18_50_45_9970.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/278d1096ace698099604391fb219ef13.jpg","text":"TemporaryFile(/tmp/multipartBody3981862910969991295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889438330,"filename":"image_16062025_18_50_05_10226.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/147c6e3c7e494475cae250bc80234cb1.jpg","text":"TemporaryFile(/tmp/multipartBody101220988750283655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889438330,"filename":"image_16062025_18_50_25_9965.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5e793671337f7744332e7cafb152c537.jpg","text":"TemporaryFile(/tmp/multipartBody3622288744982221681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889438330,"filename":"image_16062025_18_49_55_9901.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a8d3f297ad25b81080511e2d2b79cc49.jpg","text":"TemporaryFile(/tmp/multipartBody4646864794018083582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889438330,"filename":"image_16062025_18_50_35_9953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376393242","file1":"1376393238","file0":"1376393232","file4":"1376393249","file5":"1376393251","file3":"1376393247"},"map_files_photo_id_array":[{"photo_id":"1376393251","filename":"file5"},{"photo_id":"1376393242","filename":"file2"},{"photo_id":"1376393249","filename":"file4"},{"photo_id":"1376393238","filename":"file1"},{"photo_id":"1376393232","filename":"file0"},{"photo_id":"1376393247","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376393247":["hashtag1","hashtag2"]},{"1376393232":["hashtag1","hashtag2"]},{"1376393249":["hashtag1","hashtag2"]},{"1376393242":["hashtag1","hashtag2"]},{"1376393251":["hashtag1","hashtag2"]},{"1376393238":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376393247, 1376393232, 1376393249, 1376393242, 1376393251, 1376393238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.11827039718628 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:17:02.654129
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', 2), ('/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', 2), ('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', '/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', '/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', '/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', '/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg
/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
uploaded 0 photos
time to upload: 30.386306524276733 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:18:03.378323
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', 2), ('/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', 2), ('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', '/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', '/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', '/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', '/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg
/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
uploaded 0 photos
time to upload: 30.317555904388428 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:19:03.556567
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', 2), ('/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', 2), ('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', '/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', '/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', '/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', '/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg
/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
uploaded 0 photos
time to upload: 30.327874183654785 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:20:03.155393
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', 2), ('/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', 2), ('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', '/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', '/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', '/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', '/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg
/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376393399","1376393387","1376393374","1376393382","1376393391","1376393394"],"photo_ids_order":["1376393374","1376393382","1376393387","1376393391","1376393394","1376393399"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/00bc0a0d0ea1a5e383d3d08d3e35882b.jpg","text":"TemporaryFile(/tmp/multipartBody4605058632467697889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889679426,"filename":"image_16062025_18_36_15_10071.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3721abc89e52027ffad5b0464de58d4c.jpg","text":"TemporaryFile(/tmp/multipartBody7479595355115616341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889679426,"filename":"image_16062025_18_39_44_10003.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/77606f355d32ea6eb71ed4be0ff6ceff.jpg","text":"TemporaryFile(/tmp/multipartBody1553277348990034717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889679426,"filename":"image_16062025_18_49_45_9943.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9f4bd332ed074e21f642bd900900c505.jpg","text":"TemporaryFile(/tmp/multipartBody6680233787487780492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889679426,"filename":"image_16062025_18_48_55_10015.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2790fe22f0b8fcb8b68c988c33d0fcf6.jpg","text":"TemporaryFile(/tmp/multipartBody4977173402756260292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889679426,"filename":"image_16062025_18_36_34_10010.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/90aba0a93105db33ae984093392e8d2f.jpg","text":"TemporaryFile(/tmp/multipartBody612190248372881323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889679426,"filename":"image_16062025_18_36_24_8954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376393387","file1":"1376393382","file0":"1376393374","file4":"1376393394","file5":"1376393399","file3":"1376393391"},"map_files_photo_id_array":[{"photo_id":"1376393399","filename":"file5"},{"photo_id":"1376393387","filename":"file2"},{"photo_id":"1376393394","filename":"file4"},{"photo_id":"1376393382","filename":"file1"},{"photo_id":"1376393374","filename":"file0"},{"photo_id":"1376393391","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376393399":["hashtag1","hashtag2"]},{"1376393387":["hashtag1","hashtag2"]},{"1376393374":["hashtag1","hashtag2"]},{"1376393382":["hashtag1","hashtag2"]},{"1376393391":["hashtag1","hashtag2"]},{"1376393394":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376393399, 1376393387, 1376393374, 1376393382, 1376393391, 1376393394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.378427505493164 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:21:03.293300
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg', 2), ('/mnt/data/16062025/18/34/image_16062025_18_34_55_10196.jpg', 2), ('/mnt/data/16062025/18/34/image_16062025_18_34_45_10155.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_55_10196.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_45_10155.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_55_10196.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_45_10155.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg
/mnt/data/16062025/18/34/image_16062025_18_34_55_10196.jpg
/mnt/data/16062025/18/34/image_16062025_18_34_45_10155.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376393424","1376393438","1376393435","1376393443","1376393428","1376393433"],"photo_ids_order":["1376393424","1376393428","1376393433","1376393435","1376393438","1376393443"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ce785497c149d1f1406e914d1baa9af2.jpg","text":"TemporaryFile(/tmp/multipartBody1127842642245108785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889743285,"filename":"image_16062025_18_36_05_10441.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/27109411b510fa7811eb5f1a38f2a317.jpg","text":"TemporaryFile(/tmp/multipartBody1156769567828035705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889743285,"filename":"image_16062025_18_34_55_10196.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/33279926fc1633f6a001197fdb64f6e9.jpg","text":"TemporaryFile(/tmp/multipartBody212642684530561879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889743285,"filename":"image_16062025_18_35_14_10089.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ca24b053756a321b19e44228f1b7e746.jpg","text":"TemporaryFile(/tmp/multipartBody3646021497591220195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889743285,"filename":"image_16062025_18_34_45_10155.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/37e769bcc7a9c2a4eea46afc35f3c35f.jpg","text":"TemporaryFile(/tmp/multipartBody6684060163866293014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889743285,"filename":"image_16062025_18_35_54_10055.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9b82900c6f95021476d25022c25c26b9.jpg","text":"TemporaryFile(/tmp/multipartBody9167133002657461305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754889743285,"filename":"image_16062025_18_35_24_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376393433","file1":"1376393428","file0":"1376393424","file4":"1376393438","file5":"1376393443","file3":"1376393435"},"map_files_photo_id_array":[{"photo_id":"1376393443","filename":"file5"},{"photo_id":"1376393433","filename":"file2"},{"photo_id":"1376393438","filename":"file4"},{"photo_id":"1376393428","filename":"file1"},{"photo_id":"1376393424","filename":"file0"},{"photo_id":"1376393435","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376393424":["hashtag1","hashtag2"]},{"1376393438":["hashtag1","hashtag2"]},{"1376393435":["hashtag1","hashtag2"]},{"1376393443":["hashtag1","hashtag2"]},{"1376393428":["hashtag1","hashtag2"]},{"1376393433":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376393424, 1376393438, 1376393435, 1376393443, 1376393428, 1376393433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.75587439537048 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:23:02.747693
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', 2), ('/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', 2), ('/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', '/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', '/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', '/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', '/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg
/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg
/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg
/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 132.26652717590332 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:26:02.607771
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', 2), ('/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', 2), ('/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', '/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', '/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', '/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', '/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg
/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg
/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg
/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg
uploaded 0 photos
time to upload: 30.308403491973877 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:27:03.470443
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', 2), ('/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', 2), ('/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', '/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', '/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', '/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', '/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg
/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg
/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg
/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg
uploaded 0 photos
time to upload: 30.330803155899048 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:28:02.941469
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', 2), ('/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', 2), ('/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', '/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', '/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', '/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', '/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg
/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg
/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg
/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376393690","1376393687","1376393675","1376393683","1376393691","1376393679"],"photo_ids_order":["1376393675","1376393679","1376393683","1376393687","1376393690","1376393691"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/25c277b7c4c5c8c0e985915108e5af51.jpg","text":"TemporaryFile(/tmp/multipartBody6317079989980034309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890172144,"filename":"image_16062025_18_32_54_10155.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/be9794fdd3b6d8bd7002f3db1aed878b.jpg","text":"TemporaryFile(/tmp/multipartBody7132041458208292848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890172144,"filename":"image_16062025_18_33_05_10403.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8c21722832a31356b079d9fab1a87700.jpg","text":"TemporaryFile(/tmp/multipartBody4522536206834655577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890172144,"filename":"image_16062025_18_34_34_10114.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c83b2e74eb71ab13b13756ee7c4d4252.jpg","text":"TemporaryFile(/tmp/multipartBody7811622347947129085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890172144,"filename":"image_16062025_18_33_54_10041.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/95c04e07f3e7941d4d610fb022fb437c.jpg","text":"TemporaryFile(/tmp/multipartBody5832291998585807280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890172144,"filename":"image_16062025_18_32_44_9932.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/61302c0ac710bb42157c4c3d1699f5d6.jpg","text":"TemporaryFile(/tmp/multipartBody2932767162262377751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890172144,"filename":"image_16062025_18_34_14_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376393683","file1":"1376393679","file0":"1376393675","file4":"1376393690","file5":"1376393691","file3":"1376393687"},"map_files_photo_id_array":[{"photo_id":"1376393691","filename":"file5"},{"photo_id":"1376393683","filename":"file2"},{"photo_id":"1376393690","filename":"file4"},{"photo_id":"1376393679","filename":"file1"},{"photo_id":"1376393675","filename":"file0"},{"photo_id":"1376393687","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376393690":["hashtag1","hashtag2"]},{"1376393687":["hashtag1","hashtag2"]},{"1376393675":["hashtag1","hashtag2"]},{"1376393683":["hashtag1","hashtag2"]},{"1376393691":["hashtag1","hashtag2"]},{"1376393679":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376393690, 1376393687, 1376393675, 1376393683, 1376393691, 1376393679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.39431858062744 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:30:02.512031
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/32/image_16062025_18_32_34_10104.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_14_10034.jpg', 2), ('/mnt/data/16062025/18/31/image_16062025_18_32_04_9049.jpg', 2), ('/mnt/data/16062025/18/31/image_16062025_18_31_45_10107.jpg', 2), ('/mnt/data/16062025/18/31/image_16062025_18_31_35_10140.jpg', 2), ('/mnt/data/16062025/18/31/image_16062025_18_31_25_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/32/image_16062025_18_32_34_10104.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_14_10034.jpg', '/mnt/data/16062025/18/31/image_16062025_18_32_04_9049.jpg', '/mnt/data/16062025/18/31/image_16062025_18_31_45_10107.jpg', '/mnt/data/16062025/18/31/image_16062025_18_31_35_10140.jpg', '/mnt/data/16062025/18/31/image_16062025_18_31_25_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/32/image_16062025_18_32_34_10104.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_14_10034.jpg', '/mnt/data/16062025/18/31/image_16062025_18_32_04_9049.jpg', '/mnt/data/16062025/18/31/image_16062025_18_31_45_10107.jpg', '/mnt/data/16062025/18/31/image_16062025_18_31_35_10140.jpg', '/mnt/data/16062025/18/31/image_16062025_18_31_25_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/32/image_16062025_18_32_34_10104.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_14_10034.jpg
/mnt/data/16062025/18/31/image_16062025_18_32_04_9049.jpg
/mnt/data/16062025/18/31/image_16062025_18_31_45_10107.jpg
/mnt/data/16062025/18/31/image_16062025_18_31_35_10140.jpg
/mnt/data/16062025/18/31/image_16062025_18_31_25_10122.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376393750","1376393744","1376393763","1376393757","1376393766","1376393754"],"photo_ids_order":["1376393744","1376393750","1376393754","1376393757","1376393763","1376393766"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c6ded41c3d9c9194efdeb9f8be8ebdbe.jpg","text":"TemporaryFile(/tmp/multipartBody5138853482954558820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890284961,"filename":"image_16062025_18_32_14_10034.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dbd6d852e53cb2adcf2473a250697d27.jpg","text":"TemporaryFile(/tmp/multipartBody4594106925170240185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890284961,"filename":"image_16062025_18_32_34_10104.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/34209ea600255c3bdb43b86944660a34.jpg","text":"TemporaryFile(/tmp/multipartBody3066516320945450129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890284961,"filename":"image_16062025_18_31_35_10140.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7d7217cc7594aaa143e0208b7b3cab3c.jpg","text":"TemporaryFile(/tmp/multipartBody5566414371886275436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890284961,"filename":"image_16062025_18_31_45_10107.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fe2a1300bdf09dd9530fb58c195b0ad2.jpg","text":"TemporaryFile(/tmp/multipartBody4708590736015949328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890284961,"filename":"image_16062025_18_31_25_10122.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2fb0339304fc6f67fd7c6ef1ae6ed3a2.jpg","text":"TemporaryFile(/tmp/multipartBody7477111797688703784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890284961,"filename":"image_16062025_18_32_04_9049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376393754","file1":"1376393750","file0":"1376393744","file4":"1376393763","file5":"1376393766","file3":"1376393757"},"map_files_photo_id_array":[{"photo_id":"1376393766","filename":"file5"},{"photo_id":"1376393754","filename":"file2"},{"photo_id":"1376393763","filename":"file4"},{"photo_id":"1376393750","filename":"file1"},{"photo_id":"1376393744","filename":"file0"},{"photo_id":"1376393757","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376393750":["hashtag1","hashtag2"]},{"1376393744":["hashtag1","hashtag2"]},{"1376393763":["hashtag1","hashtag2"]},{"1376393757":["hashtag1","hashtag2"]},{"1376393766":["hashtag1","hashtag2"]},{"1376393754":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376393750, 1376393744, 1376393763, 1376393757, 1376393766, 1376393754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.328986167907715 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:32:02.834339
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', '/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', '/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg
/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg
uploaded 0 photos
time to upload: 31.293959617614746 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:33:02.584465
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', '/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', '/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg
/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 139.21495938301086 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:36:02.701494
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', '/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', '/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg
/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg
uploaded 0 photos
time to upload: 30.311506509780884 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:37:02.625891
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', '/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', '/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg
/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376393990","1376393992","1376393980","1376393985","1376393988","1376393982"],"photo_ids_order":["1376393980","1376393982","1376393985","1376393988","1376393990","1376393992"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/74d087f45ae42dd4f5cabdd3ebdc57c2.jpg","text":"TemporaryFile(/tmp/multipartBody3576871306626819290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890712729,"filename":"image_16062025_18_30_34_10028.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fd0c3c4dc0b284740fbb957d0c0e0c82.jpg","text":"TemporaryFile(/tmp/multipartBody3108836650003823622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890712729,"filename":"image_16062025_18_30_24_9940.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f79991966804dce971b97e0e66eccf0c.jpg","text":"TemporaryFile(/tmp/multipartBody2511346189199116681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890712729,"filename":"image_16062025_18_31_14_10045.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7e0d9fc3b23bb15b9fe417b2ed8f2a57.jpg","text":"TemporaryFile(/tmp/multipartBody7169682836820398617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890712729,"filename":"image_16062025_18_30_54_10049.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/44c9e8c15e1558e9ec57342f6ede02b1.jpg","text":"TemporaryFile(/tmp/multipartBody7884217093385353867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890712729,"filename":"image_16062025_18_30_44_10111.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/19f42ea96f1810640845923d0e793b71.jpg","text":"TemporaryFile(/tmp/multipartBody6107443421205053519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890712729,"filename":"image_16062025_18_31_04_10490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376393985","file1":"1376393982","file0":"1376393980","file4":"1376393990","file5":"1376393992","file3":"1376393988"},"map_files_photo_id_array":[{"photo_id":"1376393992","filename":"file5"},{"photo_id":"1376393985","filename":"file2"},{"photo_id":"1376393990","filename":"file4"},{"photo_id":"1376393982","filename":"file1"},{"photo_id":"1376393980","filename":"file0"},{"photo_id":"1376393988","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376393990":["hashtag1","hashtag2"]},{"1376393992":["hashtag1","hashtag2"]},{"1376393980":["hashtag1","hashtag2"]},{"1376393985":["hashtag1","hashtag2"]},{"1376393988":["hashtag1","hashtag2"]},{"1376393982":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376393990, 1376393992, 1376393980, 1376393985, 1376393988, 1376393982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.06412649154663 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:39:03.245191
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/28/image_16062025_18_28_54_10141.jpg', 2), ('/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg', 2), ('/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_28_04_10025.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_54_10010.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/28/image_16062025_18_28_54_10141.jpg', '/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg', '/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg', '/mnt/data/16062025/18/27/image_16062025_18_28_04_10025.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_54_10010.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/28/image_16062025_18_28_54_10141.jpg', '/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg', '/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg', '/mnt/data/16062025/18/27/image_16062025_18_28_04_10025.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_54_10010.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/28/image_16062025_18_28_54_10141.jpg
/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg
/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg
/mnt/data/16062025/18/27/image_16062025_18_28_04_10025.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_54_10010.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg
uploaded 0 photos
time to upload: 30.376224994659424 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:40:02.944402
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/28/image_16062025_18_28_54_10141.jpg', 2), ('/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg', 2), ('/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_28_04_10025.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_54_10010.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/28/image_16062025_18_28_54_10141.jpg', '/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg', '/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg', '/mnt/data/16062025/18/27/image_16062025_18_28_04_10025.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_54_10010.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/28/image_16062025_18_28_54_10141.jpg', '/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg', '/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg', '/mnt/data/16062025/18/27/image_16062025_18_28_04_10025.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_54_10010.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/28/image_16062025_18_28_54_10141.jpg
/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg
/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg
/mnt/data/16062025/18/27/image_16062025_18_28_04_10025.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_54_10010.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376394118","1376394112","1376394106","1376394099","1376394103","1376394114"],"photo_ids_order":["1376394099","1376394103","1376394106","1376394112","1376394114","1376394118"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7000febf35b1eedb242783beb5477ecc.jpg","text":"TemporaryFile(/tmp/multipartBody8281096384956053691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890879359,"filename":"image_16062025_18_27_44_10418.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1b12e1e54140340ff0357c639857206f.jpg","text":"TemporaryFile(/tmp/multipartBody1390104263781334044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890879359,"filename":"image_16062025_18_28_04_10025.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b346465fd252840b68072e516a47fb35.jpg","text":"TemporaryFile(/tmp/multipartBody4902017951227421150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890879359,"filename":"image_16062025_18_28_14_10081.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/80aa3655d774f54017c3a54411ffe89d.jpg","text":"TemporaryFile(/tmp/multipartBody3377437940888223449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890879359,"filename":"image_16062025_18_28_54_10141.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5fa1c986082d8ef1a0d04fba3c1d32a0.jpg","text":"TemporaryFile(/tmp/multipartBody156077157764199981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890879359,"filename":"image_16062025_18_28_25_10481.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b271244cd0f5032a6fe07fc67dc746fc.jpg","text":"TemporaryFile(/tmp/multipartBody20657860019873170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754890879359,"filename":"image_16062025_18_27_54_10010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376394106","file1":"1376394103","file0":"1376394099","file4":"1376394114","file5":"1376394118","file3":"1376394112"},"map_files_photo_id_array":[{"photo_id":"1376394118","filename":"file5"},{"photo_id":"1376394106","filename":"file2"},{"photo_id":"1376394114","filename":"file4"},{"photo_id":"1376394103","filename":"file1"},{"photo_id":"1376394099","filename":"file0"},{"photo_id":"1376394112","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376394118":["hashtag1","hashtag2"]},{"1376394112":["hashtag1","hashtag2"]},{"1376394106":["hashtag1","hashtag2"]},{"1376394099":["hashtag1","hashtag2"]},{"1376394103":["hashtag1","hashtag2"]},{"1376394114":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376394118, 1376394112, 1376394106, 1376394099, 1376394103, 1376394114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.79590034484863 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:42:03.109259
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_44_10146.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg', '/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_44_10146.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg', '/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_44_10146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg
/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_44_10146.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 141.04838109016418 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:45:02.754718
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_44_10146.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg', '/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_44_10146.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg', '/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_44_10146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg
/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_44_10146.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376394310","1376394294","1376394307","1376394288","1376394299","1376394303"],"photo_ids_order":["1376394288","1376394294","1376394299","1376394303","1376394307","1376394310"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cf184f1a3114747e7ae450a7a68a2bbd.jpg","text":"TemporaryFile(/tmp/multipartBody3080082842574714125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754891178397,"filename":"image_16062025_18_26_44_10146.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2943a383bafa89cbd0e7a41b9ae07440.jpg","text":"TemporaryFile(/tmp/multipartBody52106762997562326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754891178397,"filename":"image_16062025_18_27_25_10108.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b56af3924ad26bf72ec52072d508d0d8.jpg","text":"TemporaryFile(/tmp/multipartBody2839205359296987124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754891178397,"filename":"image_16062025_18_26_55_10123.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5f2aa05a83ffb2732225db7a8d317cd5.jpg","text":"TemporaryFile(/tmp/multipartBody783328390337836006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754891178397,"filename":"image_16062025_18_27_36_8958.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6d4cb2842e0f658d1f91d7609ffcb620.jpg","text":"TemporaryFile(/tmp/multipartBody7176807929220274777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754891178397,"filename":"image_16062025_18_27_15_10093.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/60852de233ab68f160303c6bf5748a09.jpg","text":"TemporaryFile(/tmp/multipartBody3321563951377542059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754891178397,"filename":"image_16062025_18_27_05_10035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376394299","file1":"1376394294","file0":"1376394288","file4":"1376394307","file5":"1376394310","file3":"1376394303"},"map_files_photo_id_array":[{"photo_id":"1376394310","filename":"file5"},{"photo_id":"1376394299","filename":"file2"},{"photo_id":"1376394307","filename":"file4"},{"photo_id":"1376394294","filename":"file1"},{"photo_id":"1376394288","filename":"file0"},{"photo_id":"1376394303","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376394310":["hashtag1","hashtag2"]},{"1376394294":["hashtag1","hashtag2"]},{"1376394307":["hashtag1","hashtag2"]},{"1376394288":["hashtag1","hashtag2"]},{"1376394299":["hashtag1","hashtag2"]},{"1376394303":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376394310, 1376394294, 1376394307, 1376394288, 1376394299, 1376394303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.45367622375488 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:46:03.083583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg
/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg
uploaded 0 photos
time to upload: 30.39607858657837 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:47:03.096002
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg
/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg
uploaded 0 photos
time to upload: 30.332552433013916 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:48:03.077303
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg
/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg
uploaded 0 photos
time to upload: 4.171252250671387 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:49:03.099082
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg
/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg
uploaded 0 photos
time to upload: 30.34178400039673 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:50:02.715618
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg
/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg
uploaded 0 photos
time to upload: 30.316723108291626 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:51:02.684363
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg
/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg
uploaded 0 photos
time to upload: 2.1493499279022217 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:52:03.372751
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg
/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg
uploaded 0 photos
time to upload: 30.30840039253235 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:53:03.290446
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg
/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg
uploaded 0 photos
time to upload: 30.333486318588257 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:54:02.821299
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg
/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg
uploaded 0 photos
time to upload: 30.323160409927368 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:55:03.073618
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg
/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376394602","1376394605","1376394598","1376394594","1376394600","1376394590"],"photo_ids_order":["1376394590","1376394594","1376394598","1376394600","1376394602","1376394605"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7a3623657b2154ffc5f62c52923d06ca.jpg","text":"TemporaryFile(/tmp/multipartBody9008503468801228638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754891785090,"filename":"image_16062025_18_25_54_10104.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/db817904f213eb8cfbd83f1e7f60a45f.jpg","text":"TemporaryFile(/tmp/multipartBody1483288748391078484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754891785090,"filename":"image_16062025_18_25_44_10164.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2436c07056195c55db28da59529e6280.jpg","text":"TemporaryFile(/tmp/multipartBody5526109887259013129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754891785090,"filename":"image_16062025_18_26_14_8948.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/114524a4cddba53bc9ee70b491972846.jpg","text":"TemporaryFile(/tmp/multipartBody4911518137633895127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754891785090,"filename":"image_16062025_18_26_24_10338.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2820af188f31586f58d687ef9fea52fa.jpg","text":"TemporaryFile(/tmp/multipartBody1377744751883003023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754891785090,"filename":"image_16062025_18_26_05_10359.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e275c6891f3304e455ced27fb506e3f0.jpg","text":"TemporaryFile(/tmp/multipartBody520038181266125440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754891785090,"filename":"image_16062025_18_26_34_10178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376394598","file1":"1376394594","file0":"1376394590","file4":"1376394602","file5":"1376394605","file3":"1376394600"},"map_files_photo_id_array":[{"photo_id":"1376394605","filename":"file5"},{"photo_id":"1376394598","filename":"file2"},{"photo_id":"1376394602","filename":"file4"},{"photo_id":"1376394594","filename":"file1"},{"photo_id":"1376394590","filename":"file0"},{"photo_id":"1376394600","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376394602":["hashtag1","hashtag2"]},{"1376394605":["hashtag1","hashtag2"]},{"1376394598":["hashtag1","hashtag2"]},{"1376394594":["hashtag1","hashtag2"]},{"1376394600":["hashtag1","hashtag2"]},{"1376394590":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376394602, 1376394605, 1376394598, 1376394594, 1376394600, 1376394590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.091509103775024 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:57:03.392183
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', '/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', '/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg
/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 07:59:03.624617
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', '/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', '/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg
/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg
uploaded 0 photos
time to upload: 60.74018979072571 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:00:05.541170
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 286, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:01:03.001172
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', '/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', '/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg
/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg
uploaded 0 photos
time to upload: 31.55512571334839 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:02:02.877560
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', '/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', '/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg
/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 150.9474742412567 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:05:02.988021
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', '/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', '/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg
/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg
uploaded 0 photos
time to upload: 30.31013298034668 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:06:02.422976
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', '/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', '/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg
/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376397777","1376397792","1376397786","1376397810","1376397782","1376397795"],"photo_ids_order":["1376397777","1376397782","1376397786","1376397792","1376397795","1376397810"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/53ec4d79cbb612317daea4e69b6dfd87.jpg","text":"TemporaryFile(/tmp/multipartBody4074364457262458356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892450614,"filename":"image_16062025_18_25_34_10301.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/55e58ee14f5e0a3b64460bd34c474da4.jpg","text":"TemporaryFile(/tmp/multipartBody8856319378568235252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892450614,"filename":"image_16062025_18_25_04_9098.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/67942b8ac02bf3a16ff2f72712091eff.jpg","text":"TemporaryFile(/tmp/multipartBody5652169099417279777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892450614,"filename":"image_16062025_18_25_14_10102.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/efb648babb2f16385af75f8251adf1e7.jpg","text":"TemporaryFile(/tmp/multipartBody82499790979324154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892450614,"filename":"image_16062025_18_24_44_10015.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1e15bbabc44f0073fd4118233f06bd17.jpg","text":"TemporaryFile(/tmp/multipartBody7189193580623695221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892450614,"filename":"image_16062025_18_25_24_10075.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/958c451d2a3bc1fc9bfc4717796677c5.jpg","text":"TemporaryFile(/tmp/multipartBody34476986611886906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892450614,"filename":"image_16062025_18_24_55_10105.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376397786","file1":"1376397782","file0":"1376397777","file4":"1376397795","file5":"1376397810","file3":"1376397792"},"map_files_photo_id_array":[{"photo_id":"1376397810","filename":"file5"},{"photo_id":"1376397786","filename":"file2"},{"photo_id":"1376397795","filename":"file4"},{"photo_id":"1376397782","filename":"file1"},{"photo_id":"1376397777","filename":"file0"},{"photo_id":"1376397792","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376397777":["hashtag1","hashtag2"]},{"1376397792":["hashtag1","hashtag2"]},{"1376397786":["hashtag1","hashtag2"]},{"1376397810":["hashtag1","hashtag2"]},{"1376397782":["hashtag1","hashtag2"]},{"1376397795":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376397777, 1376397792, 1376397786, 1376397810, 1376397782, 1376397795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.93029046058655 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:08:02.507329
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/24/image_16062025_18_24_34_10026.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_24_10152.jpg', 2), ('/mnt/data/16062025/18/23/image_16062025_18_23_55_10081.jpg', 2), ('/mnt/data/16062025/18/23/image_16062025_18_23_45_9996.jpg', 2), ('/mnt/data/16062025/18/23/image_16062025_18_23_35_9970.jpg', 2), ('/mnt/data/16062025/18/23/image_16062025_18_23_25_10017.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/24/image_16062025_18_24_34_10026.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_24_10152.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_55_10081.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_45_9996.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_35_9970.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_25_10017.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/24/image_16062025_18_24_34_10026.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_24_10152.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_55_10081.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_45_9996.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_35_9970.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_25_10017.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/24/image_16062025_18_24_34_10026.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_24_10152.jpg
/mnt/data/16062025/18/23/image_16062025_18_23_55_10081.jpg
/mnt/data/16062025/18/23/image_16062025_18_23_45_9996.jpg
/mnt/data/16062025/18/23/image_16062025_18_23_35_9970.jpg
/mnt/data/16062025/18/23/image_16062025_18_23_25_10017.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376397969","1376397906","1376397899","1376397935","1376397902","1376398003"],"photo_ids_order":["1376397899","1376397902","1376397906","1376397935","1376397969","1376398003"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/108270a72e6c00b465a1e2671a9c35ae.jpg","text":"TemporaryFile(/tmp/multipartBody1154339111280939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892549578,"filename":"image_16062025_18_23_35_9970.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ae33afa94f0640a88b493377ab9747a7.jpg","text":"TemporaryFile(/tmp/multipartBody1639357519442744381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892549578,"filename":"image_16062025_18_23_55_10081.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ecd32f4a4bbb43503f520bfa843197d2.jpg","text":"TemporaryFile(/tmp/multipartBody4970549197621411349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892549578,"filename":"image_16062025_18_24_34_10026.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/edef6871e959858a4d3560454a05e047.jpg","text":"TemporaryFile(/tmp/multipartBody802358977901917438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892549578,"filename":"image_16062025_18_23_45_9996.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/221a08be05f3ae9d32b4ae38cad44c4a.jpg","text":"TemporaryFile(/tmp/multipartBody135874096307612932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892549578,"filename":"image_16062025_18_24_24_10152.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/93ff8bd54aff0fbb655a27b25e0efb75.jpg","text":"TemporaryFile(/tmp/multipartBody8082243277018306243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892549578,"filename":"image_16062025_18_23_25_10017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376397906","file1":"1376397902","file0":"1376397899","file4":"1376397969","file5":"1376398003","file3":"1376397935"},"map_files_photo_id_array":[{"photo_id":"1376398003","filename":"file5"},{"photo_id":"1376397906","filename":"file2"},{"photo_id":"1376397969","filename":"file4"},{"photo_id":"1376397902","filename":"file1"},{"photo_id":"1376397899","filename":"file0"},{"photo_id":"1376397935","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376397969":["hashtag1","hashtag2"]},{"1376397906":["hashtag1","hashtag2"]},{"1376397899":["hashtag1","hashtag2"]},{"1376397935":["hashtag1","hashtag2"]},{"1376397902":["hashtag1","hashtag2"]},{"1376398003":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376397969, 1376397906, 1376397899, 1376397935, 1376397902, 1376398003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.56434226036072 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:09:02.914713
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/23/image_16062025_18_23_15_9972.jpg', 2), ('/mnt/data/16062025/18/22/image_16062025_18_23_05_10151.jpg', 2), ('/mnt/data/16062025/18/22/image_16062025_18_22_55_9955.jpg', 2), ('/mnt/data/16062025/18/22/image_16062025_18_22_45_9991.jpg', 2), ('/mnt/data/16062025/18/22/image_16062025_18_22_35_9972.jpg', 2), ('/mnt/data/16062025/18/22/image_16062025_18_22_25_9994.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/23/image_16062025_18_23_15_9972.jpg', '/mnt/data/16062025/18/22/image_16062025_18_23_05_10151.jpg', '/mnt/data/16062025/18/22/image_16062025_18_22_55_9955.jpg', '/mnt/data/16062025/18/22/image_16062025_18_22_45_9991.jpg', '/mnt/data/16062025/18/22/image_16062025_18_22_35_9972.jpg', '/mnt/data/16062025/18/22/image_16062025_18_22_25_9994.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/23/image_16062025_18_23_15_9972.jpg', '/mnt/data/16062025/18/22/image_16062025_18_23_05_10151.jpg', '/mnt/data/16062025/18/22/image_16062025_18_22_55_9955.jpg', '/mnt/data/16062025/18/22/image_16062025_18_22_45_9991.jpg', '/mnt/data/16062025/18/22/image_16062025_18_22_35_9972.jpg', '/mnt/data/16062025/18/22/image_16062025_18_22_25_9994.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/23/image_16062025_18_23_15_9972.jpg
/mnt/data/16062025/18/22/image_16062025_18_23_05_10151.jpg
/mnt/data/16062025/18/22/image_16062025_18_22_55_9955.jpg
/mnt/data/16062025/18/22/image_16062025_18_22_45_9991.jpg
/mnt/data/16062025/18/22/image_16062025_18_22_35_9972.jpg
/mnt/data/16062025/18/22/image_16062025_18_22_25_9994.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376398038","1376398041","1376398045","1376398075","1376398048","1376398062"],"photo_ids_order":["1376398038","1376398041","1376398045","1376398048","1376398062","1376398075"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f9539329d75b1158d62f84691addc2a2.jpg","text":"TemporaryFile(/tmp/multipartBody4404827259715870370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892618319,"filename":"image_16062025_18_23_15_9972.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bca9f69849d2d27f327cb58fe55e901c.jpg","text":"TemporaryFile(/tmp/multipartBody774946870044963917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892618319,"filename":"image_16062025_18_23_05_10151.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b7be3783c50408f1148e1428b36418d7.jpg","text":"TemporaryFile(/tmp/multipartBody1505354361214987507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892618319,"filename":"image_16062025_18_22_55_9955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b17a2550d1acb7f51022d035f20b5811.jpg","text":"TemporaryFile(/tmp/multipartBody1355404467631382831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892618319,"filename":"image_16062025_18_22_25_9994.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e1e4eb9b98419bf2633340f7364313da.jpg","text":"TemporaryFile(/tmp/multipartBody1745255208460250590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892618319,"filename":"image_16062025_18_22_45_9991.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9a8657a646718dbddc7c821e2f61f4e3.jpg","text":"TemporaryFile(/tmp/multipartBody692591459770377768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754892618319,"filename":"image_16062025_18_22_35_9972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376398045","file1":"1376398041","file0":"1376398038","file4":"1376398062","file5":"1376398075","file3":"1376398048"},"map_files_photo_id_array":[{"photo_id":"1376398075","filename":"file5"},{"photo_id":"1376398045","filename":"file2"},{"photo_id":"1376398062","filename":"file4"},{"photo_id":"1376398041","filename":"file1"},{"photo_id":"1376398038","filename":"file0"},{"photo_id":"1376398048","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376398038":["hashtag1","hashtag2"]},{"1376398041":["hashtag1","hashtag2"]},{"1376398045":["hashtag1","hashtag2"]},{"1376398075":["hashtag1","hashtag2"]},{"1376398048":["hashtag1","hashtag2"]},{"1376398062":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376398038, 1376398041, 1376398045, 1376398075, 1376398048, 1376398062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.50106453895569 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:10:02.178409
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg
uploaded 0 photos
time to upload: 30.374530792236328 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:11:02.586629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg
uploaded 0 photos
time to upload: 2.411057233810425 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:12:03.313806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg
uploaded 0 photos
time to upload: 30.29494285583496 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:13:03.187602
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg
uploaded 0 photos
time to upload: 30.305748224258423 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:14:03.126621
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg
uploaded 0 photos
time to upload: 30.29762864112854 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:15:03.411970
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg
uploaded 0 photos
time to upload: 30.30534291267395 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:16:03.057147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg
uploaded 0 photos
time to upload: 30.29602837562561 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:17:02.940236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg
uploaded 0 photos
time to upload: 31.359930276870728 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:18:02.447667
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.07321405410767 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:21:02.779861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376399627","1376399665","1376399734","1376399701","1376399766","1376399796"],"photo_ids_order":["1376399627","1376399665","1376399701","1376399734","1376399766","1376399796"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/578f44ff3d7266069332d7712b7a502c.jpg","text":"TemporaryFile(/tmp/multipartBody3469920553981139193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893352486,"filename":"image_16062025_18_22_15_10175.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3db4badce3659648b0c09ed27b2e96e0.jpg","text":"TemporaryFile(/tmp/multipartBody1484986249794478686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893352486,"filename":"image_16062025_18_21_54_10177.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/714189817e9a74485c5f01527d7187c7.jpg","text":"TemporaryFile(/tmp/multipartBody7458940109947577127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893352486,"filename":"image_16062025_18_21_34_8959.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6f46d7693dea1a5a0a6abe60563e1c13.jpg","text":"TemporaryFile(/tmp/multipartBody7957049542067223215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893352486,"filename":"image_16062025_18_21_44_9971.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4124f2c5ce984cd74337728c02fba935.jpg","text":"TemporaryFile(/tmp/multipartBody6536701627699269307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893352486,"filename":"image_16062025_18_21_25_10197.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0a63bee86675e0ff109434748c3f278d.jpg","text":"TemporaryFile(/tmp/multipartBody4315628208271441632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893352486,"filename":"image_16062025_18_21_15_10071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376399701","file1":"1376399665","file0":"1376399627","file4":"1376399766","file5":"1376399796","file3":"1376399734"},"map_files_photo_id_array":[{"photo_id":"1376399796","filename":"file5"},{"photo_id":"1376399701","filename":"file2"},{"photo_id":"1376399766","filename":"file4"},{"photo_id":"1376399665","filename":"file1"},{"photo_id":"1376399627","filename":"file0"},{"photo_id":"1376399734","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376399627":["hashtag1","hashtag2"]},{"1376399665":["hashtag1","hashtag2"]},{"1376399734":["hashtag1","hashtag2"]},{"1376399701":["hashtag1","hashtag2"]},{"1376399766":["hashtag1","hashtag2"]},{"1376399796":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376399627, 1376399665, 1376399734, 1376399701, 1376399766, 1376399796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.10978579521179 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:23:03.488684
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg
uploaded 0 photos
time to upload: 30.392401218414307 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:24:02.981236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg
uploaded 0 photos
time to upload: 30.295997619628906 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:25:03.056281
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg
uploaded 0 photos
time to upload: 30.33153510093689 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:26:02.863245
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg
uploaded 0 photos
time to upload: 30.30789303779602 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:27:02.811322
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg
uploaded 0 photos
time to upload: 30.317105531692505 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:28:02.598760
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376400101","1376400091","1376400087","1376400105","1376400098","1376400095"],"photo_ids_order":["1376400087","1376400091","1376400095","1376400098","1376400101","1376400105"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8a0f01e11edaee0e6b8b5e424c83afd9.jpg","text":"TemporaryFile(/tmp/multipartBody1787366888133334330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893762640,"filename":"image_16062025_18_20_25_11137.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0f44de2d88ff5903fb0cfb681d727bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5731429563423471935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893762640,"filename":"image_16062025_18_20_54_10180.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f338338a70063be2d9361c4567680cce.jpg","text":"TemporaryFile(/tmp/multipartBody4626580506304647579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893762640,"filename":"image_16062025_18_21_04_10462.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/14b2e9b85c28aaf35e6d97bf4ae3b73a.jpg","text":"TemporaryFile(/tmp/multipartBody8250225201492014166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893762640,"filename":"image_16062025_18_20_14_9929.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ff7dc2970b1ef092e917641739281085.jpg","text":"TemporaryFile(/tmp/multipartBody4381983835720036653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893762640,"filename":"image_16062025_18_20_34_9076.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1c315a0dd2ba1c9e2bb46219e44f4a1d.jpg","text":"TemporaryFile(/tmp/multipartBody2091978315482737246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893762640,"filename":"image_16062025_18_20_44_10012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376400095","file1":"1376400091","file0":"1376400087","file4":"1376400101","file5":"1376400105","file3":"1376400098"},"map_files_photo_id_array":[{"photo_id":"1376400105","filename":"file5"},{"photo_id":"1376400095","filename":"file2"},{"photo_id":"1376400101","filename":"file4"},{"photo_id":"1376400091","filename":"file1"},{"photo_id":"1376400087","filename":"file0"},{"photo_id":"1376400098","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376400101":["hashtag1","hashtag2"]},{"1376400091":["hashtag1","hashtag2"]},{"1376400087":["hashtag1","hashtag2"]},{"1376400105":["hashtag1","hashtag2"]},{"1376400098":["hashtag1","hashtag2"]},{"1376400095":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376400101, 1376400091, 1376400087, 1376400105, 1376400098, 1376400095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.72024083137512 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:30:03.076710
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/19/image_16062025_18_20_04_8968.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_55_10137.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_45_10288.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_34_10207.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_24_10194.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_14_10194.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/19/image_16062025_18_20_04_8968.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_55_10137.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_45_10288.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_34_10207.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_24_10194.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_14_10194.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/19/image_16062025_18_20_04_8968.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_55_10137.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_45_10288.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_34_10207.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_24_10194.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_14_10194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/19/image_16062025_18_20_04_8968.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_55_10137.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_45_10288.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_34_10207.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_24_10194.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_14_10194.jpg
uploaded 0 photos
time to upload: 30.375770092010498 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:31:02.952238
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/19/image_16062025_18_20_04_8968.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_55_10137.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_45_10288.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_34_10207.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_24_10194.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_14_10194.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/19/image_16062025_18_20_04_8968.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_55_10137.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_45_10288.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_34_10207.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_24_10194.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_14_10194.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/19/image_16062025_18_20_04_8968.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_55_10137.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_45_10288.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_34_10207.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_24_10194.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_14_10194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/19/image_16062025_18_20_04_8968.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_55_10137.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_45_10288.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_34_10207.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_24_10194.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_14_10194.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376400212","1376400220","1376400205","1376400225","1376400228","1376400216"],"photo_ids_order":["1376400205","1376400212","1376400216","1376400220","1376400225","1376400228"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f52d1ad278aa0cb9cbb5cc00deab64e9.jpg","text":"TemporaryFile(/tmp/multipartBody3314818085287331403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893943592,"filename":"image_16062025_18_19_55_10137.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a266b58510a948b680a4149f5b312f23.jpg","text":"TemporaryFile(/tmp/multipartBody6528877597798063756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893943592,"filename":"image_16062025_18_19_34_10207.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b86a962985256ac22f8fe35739379a62.jpg","text":"TemporaryFile(/tmp/multipartBody8554991647579431087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893943592,"filename":"image_16062025_18_20_04_8968.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c6f17d2942ecd22fc71cff65906acb0f.jpg","text":"TemporaryFile(/tmp/multipartBody7859691969106567559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893943592,"filename":"image_16062025_18_19_24_10194.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c18070ad093f84dc9f54598ded10a882.jpg","text":"TemporaryFile(/tmp/multipartBody8714432638174726153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893943592,"filename":"image_16062025_18_19_14_10194.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d322dcd330a78f39158a1253b32c7a18.jpg","text":"TemporaryFile(/tmp/multipartBody2579838420998546912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754893943592,"filename":"image_16062025_18_19_45_10288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376400216","file1":"1376400212","file0":"1376400205","file4":"1376400225","file5":"1376400228","file3":"1376400220"},"map_files_photo_id_array":[{"photo_id":"1376400228","filename":"file5"},{"photo_id":"1376400216","filename":"file2"},{"photo_id":"1376400225","filename":"file4"},{"photo_id":"1376400212","filename":"file1"},{"photo_id":"1376400205","filename":"file0"},{"photo_id":"1376400220","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376400212":["hashtag1","hashtag2"]},{"1376400220":["hashtag1","hashtag2"]},{"1376400205":["hashtag1","hashtag2"]},{"1376400225":["hashtag1","hashtag2"]},{"1376400228":["hashtag1","hashtag2"]},{"1376400216":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376400212, 1376400220, 1376400205, 1376400225, 1376400228, 1376400216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.77774691581726 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:33:03.415825
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/18/image_16062025_18_19_04_9134.jpg', 2), ('/mnt/data/16062025/18/18/image_16062025_18_18_55_10155.jpg', 2), ('/mnt/data/16062025/18/18/image_16062025_18_18_44_10160.jpg', 2), ('/mnt/data/16062025/18/18/image_16062025_18_18_34_10047.jpg', 2), ('/mnt/data/16062025/18/18/image_16062025_18_18_24_9995.jpg', 2), ('/mnt/data/16062025/18/17/image_16062025_18_18_04_10263.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/18/image_16062025_18_19_04_9134.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_55_10155.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_44_10160.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_34_10047.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_24_9995.jpg', '/mnt/data/16062025/18/17/image_16062025_18_18_04_10263.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/18/image_16062025_18_19_04_9134.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_55_10155.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_44_10160.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_34_10047.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_24_9995.jpg', '/mnt/data/16062025/18/17/image_16062025_18_18_04_10263.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/18/image_16062025_18_19_04_9134.jpg
/mnt/data/16062025/18/18/image_16062025_18_18_55_10155.jpg
/mnt/data/16062025/18/18/image_16062025_18_18_44_10160.jpg
/mnt/data/16062025/18/18/image_16062025_18_18_34_10047.jpg
/mnt/data/16062025/18/18/image_16062025_18_18_24_9995.jpg
/mnt/data/16062025/18/17/image_16062025_18_18_04_10263.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.09395623207092 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:36:02.399777
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/18/image_16062025_18_19_04_9134.jpg', 2), ('/mnt/data/16062025/18/18/image_16062025_18_18_55_10155.jpg', 2), ('/mnt/data/16062025/18/18/image_16062025_18_18_44_10160.jpg', 2), ('/mnt/data/16062025/18/18/image_16062025_18_18_34_10047.jpg', 2), ('/mnt/data/16062025/18/18/image_16062025_18_18_24_9995.jpg', 2), ('/mnt/data/16062025/18/17/image_16062025_18_18_04_10263.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/18/image_16062025_18_19_04_9134.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_55_10155.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_44_10160.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_34_10047.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_24_9995.jpg', '/mnt/data/16062025/18/17/image_16062025_18_18_04_10263.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/18/image_16062025_18_19_04_9134.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_55_10155.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_44_10160.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_34_10047.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_24_9995.jpg', '/mnt/data/16062025/18/17/image_16062025_18_18_04_10263.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/18/image_16062025_18_19_04_9134.jpg
/mnt/data/16062025/18/18/image_16062025_18_18_55_10155.jpg
/mnt/data/16062025/18/18/image_16062025_18_18_44_10160.jpg
/mnt/data/16062025/18/18/image_16062025_18_18_34_10047.jpg
/mnt/data/16062025/18/18/image_16062025_18_18_24_9995.jpg
/mnt/data/16062025/18/17/image_16062025_18_18_04_10263.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376400394","1376400388","1376400382","1376400396","1376400392","1376400386"],"photo_ids_order":["1376400382","1376400386","1376400388","1376400392","1376400394","1376400396"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d48017809ba47d29b5ae5a2f2d213bce.jpg","text":"TemporaryFile(/tmp/multipartBody2541812541100879819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894249771,"filename":"image_16062025_18_18_24_9995.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cc44264a4fed28bf95ecb73c0c6154de.jpg","text":"TemporaryFile(/tmp/multipartBody7515597406200862751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894249771,"filename":"image_16062025_18_18_44_10160.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7bdd9e43746335eb41d5e55cab0ec1f7.jpg","text":"TemporaryFile(/tmp/multipartBody1174595047275675952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894249771,"filename":"image_16062025_18_19_04_9134.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7af4cb24f1946a36e62f71178572f861.jpg","text":"TemporaryFile(/tmp/multipartBody4083690137586905955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894249771,"filename":"image_16062025_18_18_04_10263.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9db5c9600ec5979592c030c5740b28c0.jpg","text":"TemporaryFile(/tmp/multipartBody8211346424446788409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894249771,"filename":"image_16062025_18_18_34_10047.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/28fd066950c49200135660a743bb0dc0.jpg","text":"TemporaryFile(/tmp/multipartBody1600084906419108299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894249771,"filename":"image_16062025_18_18_55_10155.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376400388","file1":"1376400386","file0":"1376400382","file4":"1376400394","file5":"1376400396","file3":"1376400392"},"map_files_photo_id_array":[{"photo_id":"1376400396","filename":"file5"},{"photo_id":"1376400388","filename":"file2"},{"photo_id":"1376400394","filename":"file4"},{"photo_id":"1376400386","filename":"file1"},{"photo_id":"1376400382","filename":"file0"},{"photo_id":"1376400392","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376400394":["hashtag1","hashtag2"]},{"1376400388":["hashtag1","hashtag2"]},{"1376400382":["hashtag1","hashtag2"]},{"1376400396":["hashtag1","hashtag2"]},{"1376400392":["hashtag1","hashtag2"]},{"1376400386":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376400394, 1376400388, 1376400382, 1376400396, 1376400392, 1376400386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.7039954662323 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:38:03.176582
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/17/image_16062025_18_17_54_9976.jpg', 2), ('/mnt/data/16062025/18/17/image_16062025_18_17_44_9971.jpg', 2), ('/mnt/data/16062025/18/17/image_16062025_18_17_34_9983.jpg', 2), ('/mnt/data/16062025/18/17/image_16062025_18_17_24_9998.jpg', 2), ('/mnt/data/16062025/18/17/image_16062025_18_17_14_10004.jpg', 2), ('/mnt/data/16062025/18/16/image_16062025_18_17_04_10275.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/17/image_16062025_18_17_54_9976.jpg', '/mnt/data/16062025/18/17/image_16062025_18_17_44_9971.jpg', '/mnt/data/16062025/18/17/image_16062025_18_17_34_9983.jpg', '/mnt/data/16062025/18/17/image_16062025_18_17_24_9998.jpg', '/mnt/data/16062025/18/17/image_16062025_18_17_14_10004.jpg', '/mnt/data/16062025/18/16/image_16062025_18_17_04_10275.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/17/image_16062025_18_17_54_9976.jpg', '/mnt/data/16062025/18/17/image_16062025_18_17_44_9971.jpg', '/mnt/data/16062025/18/17/image_16062025_18_17_34_9983.jpg', '/mnt/data/16062025/18/17/image_16062025_18_17_24_9998.jpg', '/mnt/data/16062025/18/17/image_16062025_18_17_14_10004.jpg', '/mnt/data/16062025/18/16/image_16062025_18_17_04_10275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/17/image_16062025_18_17_54_9976.jpg
/mnt/data/16062025/18/17/image_16062025_18_17_44_9971.jpg
/mnt/data/16062025/18/17/image_16062025_18_17_34_9983.jpg
/mnt/data/16062025/18/17/image_16062025_18_17_24_9998.jpg
/mnt/data/16062025/18/17/image_16062025_18_17_14_10004.jpg
/mnt/data/16062025/18/16/image_16062025_18_17_04_10275.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376400437","1376400433","1376400450","1376400444","1376400446","1376400440"],"photo_ids_order":["1376400433","1376400437","1376400440","1376400444","1376400446","1376400450"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/68d9ff840dca38e3a088872ff85d71fa.jpg","text":"TemporaryFile(/tmp/multipartBody9010936454267009901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894362402,"filename":"image_16062025_18_17_44_9971.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9c8ed286349cb056ea1380294009426d.jpg","text":"TemporaryFile(/tmp/multipartBody1437079001769727799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894362402,"filename":"image_16062025_18_17_54_9976.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c1e3a5450888e006fa650ce0eb549def.jpg","text":"TemporaryFile(/tmp/multipartBody5280216679772885082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894362402,"filename":"image_16062025_18_17_04_10275.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c246b18c812618c40c6817068319ff21.jpg","text":"TemporaryFile(/tmp/multipartBody1187560504323727021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894362402,"filename":"image_16062025_18_17_24_9998.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b6a9c64b4d4db82d250d69691af01a75.jpg","text":"TemporaryFile(/tmp/multipartBody6482742313674832403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894362402,"filename":"image_16062025_18_17_14_10004.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9735f0340f799c9fcfe4409421f61cb8.jpg","text":"TemporaryFile(/tmp/multipartBody1175178835420744085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894362402,"filename":"image_16062025_18_17_34_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376400440","file1":"1376400437","file0":"1376400433","file4":"1376400446","file5":"1376400450","file3":"1376400444"},"map_files_photo_id_array":[{"photo_id":"1376400450","filename":"file5"},{"photo_id":"1376400440","filename":"file2"},{"photo_id":"1376400446","filename":"file4"},{"photo_id":"1376400437","filename":"file1"},{"photo_id":"1376400433","filename":"file0"},{"photo_id":"1376400444","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376400437":["hashtag1","hashtag2"]},{"1376400433":["hashtag1","hashtag2"]},{"1376400450":["hashtag1","hashtag2"]},{"1376400444":["hashtag1","hashtag2"]},{"1376400446":["hashtag1","hashtag2"]},{"1376400440":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376400437, 1376400433, 1376400450, 1376400444, 1376400446, 1376400440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.779927253723145 secondes ---
MMMMMM fin de la fonction upload
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:40:02.614781
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/16/image_16062025_18_16_54_10015.jpg', 2), ('/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg', 2), ('/mnt/data/16062025/18/08/image_16062025_18_08_14_10079.jpg', 2), ('/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/16/image_16062025_18_16_54_10015.jpg', '/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg', '/mnt/data/16062025/18/08/image_16062025_18_08_14_10079.jpg', '/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/16/image_16062025_18_16_54_10015.jpg', '/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg', '/mnt/data/16062025/18/08/image_16062025_18_08_14_10079.jpg', '/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/16/image_16062025_18_16_54_10015.jpg
/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg
/mnt/data/16062025/18/08/image_16062025_18_08_14_10079.jpg
/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376400565","1376400591","1376400570","1376400558","1376400561","1376400554"],"photo_ids_order":["1376400554","1376400558","1376400561","1376400565","1376400570","1376400591"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/04ebeddc3077f3b312f5e4c42b0073eb.jpg","text":"TemporaryFile(/tmp/multipartBody8801130743603509951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894489827,"filename":"image_16062025_18_06_44_10130.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/df37b4f3056be783f2b74c44b729a33b.jpg","text":"TemporaryFile(/tmp/multipartBody4325039448058799057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894489827,"filename":"image_16062025_18_05_14_10112.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5f18892fae5616ae1b4e46cc0ab619dc.jpg","text":"TemporaryFile(/tmp/multipartBody6405080651800791205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894489827,"filename":"image_16062025_18_05_55_10114.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a81cc70c54ff30615f0127eedd9d3861.jpg","text":"TemporaryFile(/tmp/multipartBody8980477224054216294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894489827,"filename":"image_16062025_18_12_14_10074.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ff2dc2b9b0e6cb208cf1e149f915ee71.jpg","text":"TemporaryFile(/tmp/multipartBody6897742905410243283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894489827,"filename":"image_16062025_18_08_14_10079.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c5be0a789b7efaf9329bd0e648bc24b6.jpg","text":"TemporaryFile(/tmp/multipartBody614238642445987725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894489827,"filename":"image_16062025_18_16_54_10015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376400561","file1":"1376400558","file0":"1376400554","file4":"1376400570","file5":"1376400591","file3":"1376400565"},"map_files_photo_id_array":[{"photo_id":"1376400591","filename":"file5"},{"photo_id":"1376400561","filename":"file2"},{"photo_id":"1376400570","filename":"file4"},{"photo_id":"1376400558","filename":"file1"},{"photo_id":"1376400554","filename":"file0"},{"photo_id":"1376400565","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376400565":["hashtag1","hashtag2"]},{"1376400591":["hashtag1","hashtag2"]},{"1376400570":["hashtag1","hashtag2"]},{"1376400558":["hashtag1","hashtag2"]},{"1376400561":["hashtag1","hashtag2"]},{"1376400554":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376400565, 1376400591, 1376400570, 1376400558, 1376400561, 1376400554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.60156607627869 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:42:02.800433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', 2), ('/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', 2), ('/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', '/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', '/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', '/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', '/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg
/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg
/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 147.93342685699463 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:45:02.992556
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', 2), ('/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', 2), ('/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', '/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', '/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', '/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', '/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg
/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg
/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg
uploaded 0 photos
time to upload: 30.30762553215027 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:46:02.874814
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', 2), ('/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', 2), ('/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', '/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', '/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', '/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', '/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg
/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg
/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376401018","1376400966","1376400960","1376401026","1376400978","1376400971"],"photo_ids_order":["1376400960","1376400966","1376400971","1376400978","1376401018","1376401026"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f52a313b010f43474627ae529a49754f.jpg","text":"TemporaryFile(/tmp/multipartBody8526729351477110292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894839000,"filename":"image_16062025_18_01_34_10163.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f00993f732b416ca945c77948afc6f75.jpg","text":"TemporaryFile(/tmp/multipartBody419374515160167434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894839000,"filename":"image_16062025_18_03_04_10301.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/147d71a3281eecac95112244e840acab.jpg","text":"TemporaryFile(/tmp/multipartBody6082054559308283793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894839000,"filename":"image_16062025_18_04_54_8886.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9ba33a7e1f648e830e0e3087aa04fd4f.jpg","text":"TemporaryFile(/tmp/multipartBody5589709836892500898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894839000,"filename":"image_16062025_18_00_24_10201.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b5c727c169c26409738c2e12c4fd79b3.jpg","text":"TemporaryFile(/tmp/multipartBody260858936657740249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894839000,"filename":"image_16062025_18_02_15_10182.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7b765f9856aa9c846243c473433daf33.jpg","text":"TemporaryFile(/tmp/multipartBody791611887506212996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894839000,"filename":"image_16062025_18_02_34_10132.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376400971","file1":"1376400966","file0":"1376400960","file4":"1376401018","file5":"1376401026","file3":"1376400978"},"map_files_photo_id_array":[{"photo_id":"1376401026","filename":"file5"},{"photo_id":"1376400971","filename":"file2"},{"photo_id":"1376401018","filename":"file4"},{"photo_id":"1376400966","filename":"file1"},{"photo_id":"1376400960","filename":"file0"},{"photo_id":"1376400978","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376401018":["hashtag1","hashtag2"]},{"1376400966":["hashtag1","hashtag2"]},{"1376400960":["hashtag1","hashtag2"]},{"1376401026":["hashtag1","hashtag2"]},{"1376400978":["hashtag1","hashtag2"]},{"1376400971":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376401018, 1376400966, 1376400960, 1376401026, 1376400978, 1376400971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.1604790687561 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:47:02.585511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', 2), ('/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg', 2), ('/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg', 2), ('/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg', 2), ('/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg', 2), ('/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', '/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg', '/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg', '/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg', '/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg', '/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', '/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg', '/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg', '/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg', '/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg', '/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg
/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg
/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg
/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg
/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg
/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg
uploaded 0 photos
time to upload: 30.39867925643921 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:48:03.365385
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', 2), ('/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg', 2), ('/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg', 2), ('/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg', 2), ('/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg', 2), ('/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', '/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg', '/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg', '/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg', '/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg', '/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', '/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg', '/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg', '/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg', '/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg', '/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg
/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg
/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg
/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg
/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg
/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376401105","1376401071","1376401089","1376401083","1376401094","1376401100"],"photo_ids_order":["1376401071","1376401083","1376401089","1376401094","1376401100","1376401105"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7cb8723c361134fefed8c25151f8055d.jpg","text":"TemporaryFile(/tmp/multipartBody1281608275100287922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894957749,"filename":"image_16062025_17_55_15_10201.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1afbb163c08142a2ac83309107f95c0e.jpg","text":"TemporaryFile(/tmp/multipartBody8617068211335550651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894957749,"filename":"image_16062025_18_00_14_8955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0f93077ff82153035bc090e5c8e017e9.jpg","text":"TemporaryFile(/tmp/multipartBody2933673269524753062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894957749,"filename":"image_16062025_17_59_14_8935.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f934a23772ab503b7d62613bfccb222f.jpg","text":"TemporaryFile(/tmp/multipartBody4164679658803998757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894957749,"filename":"image_16062025_18_00_05_10424.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e2cdf4fdc8da4733618ce277df0093fb.jpg","text":"TemporaryFile(/tmp/multipartBody5464607036809699735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894957749,"filename":"image_16062025_17_59_05_10160.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fca8a99e5e5bddca3d66d78c07ab8b2b.jpg","text":"TemporaryFile(/tmp/multipartBody1999206283692004475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754894957749,"filename":"image_16062025_17_56_04_10244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376401089","file1":"1376401083","file0":"1376401071","file4":"1376401100","file5":"1376401105","file3":"1376401094"},"map_files_photo_id_array":[{"photo_id":"1376401105","filename":"file5"},{"photo_id":"1376401089","filename":"file2"},{"photo_id":"1376401100","filename":"file4"},{"photo_id":"1376401083","filename":"file1"},{"photo_id":"1376401071","filename":"file0"},{"photo_id":"1376401094","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376401105":["hashtag1","hashtag2"]},{"1376401071":["hashtag1","hashtag2"]},{"1376401089":["hashtag1","hashtag2"]},{"1376401083":["hashtag1","hashtag2"]},{"1376401094":["hashtag1","hashtag2"]},{"1376401100":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376401105, 1376401071, 1376401089, 1376401083, 1376401094, 1376401100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.4298632144928 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:49:03.401999
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/54/image_16062025_17_54_35_10157.jpg', 2), ('/mnt/data/16062025/17/54/image_16062025_17_54_25_10160.jpg', 2), ('/mnt/data/16062025/17/53/image_16062025_17_54_04_10401.jpg', 2), ('/mnt/data/16062025/17/53/image_16062025_17_53_35_10211.jpg', 2), ('/mnt/data/16062025/17/52/image_16062025_17_52_35_10200.jpg', 2), ('/mnt/data/16062025/17/52/image_16062025_17_52_24_10198.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/54/image_16062025_17_54_35_10157.jpg', '/mnt/data/16062025/17/54/image_16062025_17_54_25_10160.jpg', '/mnt/data/16062025/17/53/image_16062025_17_54_04_10401.jpg', '/mnt/data/16062025/17/53/image_16062025_17_53_35_10211.jpg', '/mnt/data/16062025/17/52/image_16062025_17_52_35_10200.jpg', '/mnt/data/16062025/17/52/image_16062025_17_52_24_10198.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/54/image_16062025_17_54_35_10157.jpg', '/mnt/data/16062025/17/54/image_16062025_17_54_25_10160.jpg', '/mnt/data/16062025/17/53/image_16062025_17_54_04_10401.jpg', '/mnt/data/16062025/17/53/image_16062025_17_53_35_10211.jpg', '/mnt/data/16062025/17/52/image_16062025_17_52_35_10200.jpg', '/mnt/data/16062025/17/52/image_16062025_17_52_24_10198.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/54/image_16062025_17_54_35_10157.jpg
/mnt/data/16062025/17/54/image_16062025_17_54_25_10160.jpg
/mnt/data/16062025/17/53/image_16062025_17_54_04_10401.jpg
/mnt/data/16062025/17/53/image_16062025_17_53_35_10211.jpg
/mnt/data/16062025/17/52/image_16062025_17_52_35_10200.jpg
/mnt/data/16062025/17/52/image_16062025_17_52_24_10198.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376401425","1376401353","1376401233","1376401391","1376401305","1376401268"],"photo_ids_order":["1376401233","1376401268","1376401305","1376401353","1376401391","1376401425"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cc88e05325e9849ba079ce9d13c7675d.jpg","text":"TemporaryFile(/tmp/multipartBody1636368663119281565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754895031951,"filename":"image_16062025_17_52_24_10198.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ad7ba71c7d17a1f371890639826b46ba.jpg","text":"TemporaryFile(/tmp/multipartBody69693534692587759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754895031951,"filename":"image_16062025_17_53_35_10211.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/721f4a46049a2729eef3c371d3317f5b.jpg","text":"TemporaryFile(/tmp/multipartBody4759193554597415939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754895031951,"filename":"image_16062025_17_54_35_10157.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/49e9d646459669c2d37bc511ff43837d.jpg","text":"TemporaryFile(/tmp/multipartBody3148022714586062924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754895031951,"filename":"image_16062025_17_52_35_10200.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/43c45e25a20679cf7ccd541700b7de30.jpg","text":"TemporaryFile(/tmp/multipartBody7100184714460837699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754895031951,"filename":"image_16062025_17_54_04_10401.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a3c5fd70058bd92e9bbb7da43ad7c82b.jpg","text":"TemporaryFile(/tmp/multipartBody6718889866439275872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754895031951,"filename":"image_16062025_17_54_25_10160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376401305","file1":"1376401268","file0":"1376401233","file4":"1376401391","file5":"1376401425","file3":"1376401353"},"map_files_photo_id_array":[{"photo_id":"1376401425","filename":"file5"},{"photo_id":"1376401305","filename":"file2"},{"photo_id":"1376401391","filename":"file4"},{"photo_id":"1376401268","filename":"file1"},{"photo_id":"1376401233","filename":"file0"},{"photo_id":"1376401353","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376401425":["hashtag1","hashtag2"]},{"1376401353":["hashtag1","hashtag2"]},{"1376401233":["hashtag1","hashtag2"]},{"1376401391":["hashtag1","hashtag2"]},{"1376401305":["hashtag1","hashtag2"]},{"1376401268":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376401425, 1376401353, 1376401233, 1376401391, 1376401305, 1376401268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.84312891960144 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:51:02.850769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.43371868133545 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:52:02.838797
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.30591082572937 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:53:02.950133
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.56242060661316 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:54:02.695184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.30534029006958 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:55:02.902303
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.30576181411743 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:56:03.209787
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.314786672592163 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:57:03.193537
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.582798957824707 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 08:59:02.977751
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.36197543144226 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:00:02.773337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.311335802078247 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:01:02.688100
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.335740327835083 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:02:03.077687
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.299590587615967 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:03:03.248889
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.3033127784729 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:04:02.650673
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.329877853393555 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:05:02.582983
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.361502647399902 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:06:02.622896
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.3248610496521 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:07:03.145857
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
uploaded 0 photos
time to upload: 30.89436936378479 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:08:03.055890
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376405141","1376405132","1376405152","1376405146","1376405151","1376405136"],"photo_ids_order":["1376405132","1376405136","1376405141","1376405146","1376405151","1376405152"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5e229df295417d9f9741934b00969411.jpg","text":"TemporaryFile(/tmp/multipartBody8212169607240673464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754896167379,"filename":"image_16062025_17_50_55_10193.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e191ca27121b937b156fa8b61c775315.jpg","text":"TemporaryFile(/tmp/multipartBody8441757925672057310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754896167379,"filename":"image_16062025_17_52_04_10317.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/56a1ca872d6e1e6ef050339d1b36e417.jpg","text":"TemporaryFile(/tmp/multipartBody5529785282334261499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754896167379,"filename":"image_16062025_17_50_14_10158.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c346e9bc909bfd232fba04c99260d073.jpg","text":"TemporaryFile(/tmp/multipartBody4861982504159932198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754896167379,"filename":"image_16062025_17_50_34_10190.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/92f489412b59d43b5da4317d187c24f1.jpg","text":"TemporaryFile(/tmp/multipartBody2958620523671978899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754896167379,"filename":"image_16062025_17_50_24_10148.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/793722af69c7f962cef21fb738190530.jpg","text":"TemporaryFile(/tmp/multipartBody7601708678340922051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754896167379,"filename":"image_16062025_17_51_04_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376405141","file1":"1376405136","file0":"1376405132","file4":"1376405151","file5":"1376405152","file3":"1376405146"},"map_files_photo_id_array":[{"photo_id":"1376405152","filename":"file5"},{"photo_id":"1376405141","filename":"file2"},{"photo_id":"1376405151","filename":"file4"},{"photo_id":"1376405136","filename":"file1"},{"photo_id":"1376405132","filename":"file0"},{"photo_id":"1376405146","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376405141":["hashtag1","hashtag2"]},{"1376405132":["hashtag1","hashtag2"]},{"1376405152":["hashtag1","hashtag2"]},{"1376405146":["hashtag1","hashtag2"]},{"1376405151":["hashtag1","hashtag2"]},{"1376405136":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376405141, 1376405132, 1376405152, 1376405146, 1376405151, 1376405136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.95071077346802 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:10:03.379009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg', 2), ('/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg', 2), ('/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg', 2), ('/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg', 2), ('/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg', 2), ('/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg', '/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg', '/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg', '/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg', '/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg
/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg
/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg
/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg
/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg
/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg
uploaded 0 photos
time to upload: 30.393089532852173 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:11:03.307379
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg', 2), ('/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg', 2), ('/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg', 2), ('/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg', 2), ('/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg', 2), ('/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg', '/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg', '/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg', '/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg', '/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg
/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg
/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg
/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg
/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg
/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376405240","1376405243","1376405246","1376405231","1376405227","1376405236"],"photo_ids_order":["1376405227","1376405231","1376405236","1376405240","1376405243","1376405246"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8ac44138b51847bf4d0377d9ee3828ad.jpg","text":"TemporaryFile(/tmp/multipartBody6734518453870578540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754896343836,"filename":"image_16062025_17_47_44_10159.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b7747ba183aba30daeedee831c3ab753.jpg","text":"TemporaryFile(/tmp/multipartBody5775149198436631858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754896343836,"filename":"image_16062025_17_47_34_10163.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b7a8865dcb6cb7d00859767a3bf3d4d6.jpg","text":"TemporaryFile(/tmp/multipartBody2836221681687571465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754896343836,"filename":"image_16062025_17_47_14_9102.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/acc235b8d7df1cb96923bbd2ad48dffa.jpg","text":"TemporaryFile(/tmp/multipartBody3865960048914952276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754896343836,"filename":"image_16062025_17_49_04_9166.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/95e8c9857515c32d6343e1fbdc5279db.jpg","text":"TemporaryFile(/tmp/multipartBody1712224804482405426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754896343836,"filename":"image_16062025_17_50_04_9165.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/97756712b7172674093a0baa1f2b7fc5.jpg","text":"TemporaryFile(/tmp/multipartBody5827955334112397621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754896343836,"filename":"image_16062025_17_48_24_10218.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376405236","file1":"1376405231","file0":"1376405227","file4":"1376405243","file5":"1376405246","file3":"1376405240"},"map_files_photo_id_array":[{"photo_id":"1376405246","filename":"file5"},{"photo_id":"1376405236","filename":"file2"},{"photo_id":"1376405243","filename":"file4"},{"photo_id":"1376405231","filename":"file1"},{"photo_id":"1376405227","filename":"file0"},{"photo_id":"1376405240","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376405240":["hashtag1","hashtag2"]},{"1376405243":["hashtag1","hashtag2"]},{"1376405246":["hashtag1","hashtag2"]},{"1376405231":["hashtag1","hashtag2"]},{"1376405227":["hashtag1","hashtag2"]},{"1376405236":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376405240, 1376405243, 1376405246, 1376405231, 1376405227, 1376405236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.16611409187317 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:13:03.240616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 30.415132999420166 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:14:02.663073
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 30.30166220664978 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:15:02.740632
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 31.560195922851562 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:16:02.807954
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 31.93222713470459 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:17:02.965994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 32.54343295097351 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:18:03.104804
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 32.66370487213135 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:19:03.355967
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 32.132726192474365 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:20:02.752241
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 30.327786922454834 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:21:03.661957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 30.326810121536255 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:22:02.917889
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 32.057703495025635 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:23:03.201164
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 30.33836793899536 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:24:02.802677
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 30.32978892326355 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:25:03.064273
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 30.31247067451477 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:26:02.598983
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 30.301030158996582 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:27:02.670507
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
uploaded 0 photos
time to upload: 30.329723834991455 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:29:03.312521
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376405728","1376405731","1376405725","1376405713","1376405733","1376405718"],"photo_ids_order":["1376405713","1376405718","1376405725","1376405728","1376405731","1376405733"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dc615fdf3ce2024d2317f3ac95936c9d.jpg","text":"TemporaryFile(/tmp/multipartBody3516804133583114914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897431498,"filename":"image_16062025_17_45_44_10194.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8bab34ed1dbb0f3464a53ed2bfbed0f0.jpg","text":"TemporaryFile(/tmp/multipartBody3219912020648763978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897431498,"filename":"image_16062025_17_45_34_10168.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8e34fea4444a187ce001991d087ba499.jpg","text":"TemporaryFile(/tmp/multipartBody4906947198582555340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897431498,"filename":"image_16062025_17_45_54_10156.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ec46ffba45070c1384c8371cdc3c7af9.jpg","text":"TemporaryFile(/tmp/multipartBody8083368044356322365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897431498,"filename":"image_16062025_17_46_34_10159.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d5947f341e9209113cf1820c3ecf3c14.jpg","text":"TemporaryFile(/tmp/multipartBody5892925885077202396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897431498,"filename":"image_16062025_17_45_15_10165.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/79891fb33df5827c8c1dce8a80c3e81e.jpg","text":"TemporaryFile(/tmp/multipartBody3802172882557357110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897431498,"filename":"image_16062025_17_46_15_10169.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376405725","file1":"1376405718","file0":"1376405713","file4":"1376405731","file5":"1376405733","file3":"1376405728"},"map_files_photo_id_array":[{"photo_id":"1376405733","filename":"file5"},{"photo_id":"1376405725","filename":"file2"},{"photo_id":"1376405731","filename":"file4"},{"photo_id":"1376405718","filename":"file1"},{"photo_id":"1376405713","filename":"file0"},{"photo_id":"1376405728","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376405728":["hashtag1","hashtag2"]},{"1376405731":["hashtag1","hashtag2"]},{"1376405725":["hashtag1","hashtag2"]},{"1376405713":["hashtag1","hashtag2"]},{"1376405733":["hashtag1","hashtag2"]},{"1376405718":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376405728, 1376405731, 1376405725, 1376405713, 1376405733, 1376405718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.58748841285706 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:31:02.822681
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', 2), ('/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', 2), ('/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', 2), ('/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg
/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg
/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg
/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg
uploaded 0 photos
time to upload: 3.146146059036255 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:32:02.488347
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', 2), ('/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', 2), ('/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', 2), ('/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg
/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg
/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg
/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg
uploaded 0 photos
time to upload: 30.53947901725769 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:33:03.547588
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', 2), ('/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', 2), ('/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', 2), ('/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg
/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg
/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg
/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg
uploaded 0 photos
time to upload: 32.14064431190491 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:34:02.968422
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', 2), ('/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', 2), ('/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', 2), ('/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg
/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg
/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg
/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg
uploaded 0 photos
time to upload: 30.304783582687378 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:35:02.961803
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', 2), ('/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', 2), ('/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', 2), ('/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg
/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg
/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg
/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 18.251593351364136 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:36:02.786415
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', 2), ('/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', 2), ('/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', 2), ('/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg
/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg
/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg
/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376406079","1376406064","1376406046","1376406069","1376406084","1376406074"],"photo_ids_order":["1376406046","1376406064","1376406069","1376406074","1376406079","1376406084"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2b5e7afff1820342cc64bf7a76023f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6397749569062162248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897836526,"filename":"image_16062025_17_41_44_10169.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e0f2958bc2ab0805a0c261d8f80968c1.jpg","text":"TemporaryFile(/tmp/multipartBody1016615694441960216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897836526,"filename":"image_16062025_17_44_34_8982.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/59772c2103db10f71c561ef8cbd639c4.jpg","text":"TemporaryFile(/tmp/multipartBody4648910929327578139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897836526,"filename":"image_16062025_17_44_44_10224.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f5b8fb6b3f09c576d24054b9691a3b2d.jpg","text":"TemporaryFile(/tmp/multipartBody3158261138785764131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897836526,"filename":"image_16062025_17_43_54_10153.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cdcb89fe6a96e7b631ddae4dc3e0652e.jpg","text":"TemporaryFile(/tmp/multipartBody3734331377919051149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897836526,"filename":"image_16062025_17_41_04_10285.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4dfc1e51a8371542a52be01f054a68d8.jpg","text":"TemporaryFile(/tmp/multipartBody8364567212110126250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897836526,"filename":"image_16062025_17_43_15_10208.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376406069","file1":"1376406064","file0":"1376406046","file4":"1376406079","file5":"1376406084","file3":"1376406074"},"map_files_photo_id_array":[{"photo_id":"1376406084","filename":"file5"},{"photo_id":"1376406069","filename":"file2"},{"photo_id":"1376406079","filename":"file4"},{"photo_id":"1376406064","filename":"file1"},{"photo_id":"1376406046","filename":"file0"},{"photo_id":"1376406074","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376406079":["hashtag1","hashtag2"]},{"1376406064":["hashtag1","hashtag2"]},{"1376406046":["hashtag1","hashtag2"]},{"1376406069":["hashtag1","hashtag2"]},{"1376406084":["hashtag1","hashtag2"]},{"1376406074":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376406079, 1376406064, 1376406046, 1376406069, 1376406084, 1376406074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.12951970100403 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:37:02.831591
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/35/image_16062025_17_35_34_9936.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/35/image_16062025_17_35_34_9936.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', '/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/35/image_16062025_17_35_34_9936.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', '/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/35/image_16062025_17_35_34_9936.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg
/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376406139","1376406121","1376406109","1376406146","1376406113","1376406116"],"photo_ids_order":["1376406109","1376406113","1376406116","1376406121","1376406139","1376406146"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2662f4c689049be4ddb408721e8521a6.jpg","text":"TemporaryFile(/tmp/multipartBody5022053435383581356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897899990,"filename":"image_16062025_17_34_54_10123.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7ad797cac71334c72270c1e150009594.jpg","text":"TemporaryFile(/tmp/multipartBody2578930110093227225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897899990,"filename":"image_16062025_17_35_04_10246.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/082b1acaa59249abd5c6f64ae23f567e.jpg","text":"TemporaryFile(/tmp/multipartBody5097201490832744691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897899990,"filename":"image_16062025_17_35_34_9936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/451746b1ac75625c632d1a7792ba597e.jpg","text":"TemporaryFile(/tmp/multipartBody4539776557490342236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897899990,"filename":"image_16062025_17_34_44_9952.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/09e474af041df61091048e58525cc639.jpg","text":"TemporaryFile(/tmp/multipartBody1023732093464761123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897899990,"filename":"image_16062025_17_35_24_9996.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/db2047790db5026888a98b8e28ccf29b.jpg","text":"TemporaryFile(/tmp/multipartBody4048518664679780301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897899990,"filename":"image_16062025_17_35_14_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376406116","file1":"1376406113","file0":"1376406109","file4":"1376406139","file5":"1376406146","file3":"1376406121"},"map_files_photo_id_array":[{"photo_id":"1376406146","filename":"file5"},{"photo_id":"1376406116","filename":"file2"},{"photo_id":"1376406139","filename":"file4"},{"photo_id":"1376406113","filename":"file1"},{"photo_id":"1376406109","filename":"file0"},{"photo_id":"1376406121","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376406139":["hashtag1","hashtag2"]},{"1376406121":["hashtag1","hashtag2"]},{"1376406109":["hashtag1","hashtag2"]},{"1376406146":["hashtag1","hashtag2"]},{"1376406113":["hashtag1","hashtag2"]},{"1376406116":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376406139, 1376406121, 1376406109, 1376406146, 1376406113, 1376406116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.45695447921753 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:38:03.262549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_24_10204.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_14_8916.jpg', 2), ('/mnt/data/16062025/17/33/image_16062025_17_34_05_10210.jpg', 2), ('/mnt/data/16062025/17/33/image_16062025_17_33_55_10100.jpg', 2), ('/mnt/data/16062025/17/33/image_16062025_17_33_44_10077.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_24_10204.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_14_8916.jpg', '/mnt/data/16062025/17/33/image_16062025_17_34_05_10210.jpg', '/mnt/data/16062025/17/33/image_16062025_17_33_55_10100.jpg', '/mnt/data/16062025/17/33/image_16062025_17_33_44_10077.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_24_10204.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_14_8916.jpg', '/mnt/data/16062025/17/33/image_16062025_17_34_05_10210.jpg', '/mnt/data/16062025/17/33/image_16062025_17_33_55_10100.jpg', '/mnt/data/16062025/17/33/image_16062025_17_33_44_10077.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_24_10204.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_14_8916.jpg
/mnt/data/16062025/17/33/image_16062025_17_34_05_10210.jpg
/mnt/data/16062025/17/33/image_16062025_17_33_55_10100.jpg
/mnt/data/16062025/17/33/image_16062025_17_33_44_10077.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376406178","1376406186","1376406174","1376406182","1376406176","1376406170"],"photo_ids_order":["1376406170","1376406174","1376406176","1376406178","1376406182","1376406186"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1e20a8c4129453a3c5e2ff81efce48fe.jpg","text":"TemporaryFile(/tmp/multipartBody8780903951841169063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897970305,"filename":"image_16062025_17_34_05_10210.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0e8618fab84e9378c566f0de40152992.jpg","text":"TemporaryFile(/tmp/multipartBody1144417520703664973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897970305,"filename":"image_16062025_17_33_44_10077.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3d6621cb09e1bed41e26c226d07b5f56.jpg","text":"TemporaryFile(/tmp/multipartBody5393328112448323366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897970305,"filename":"image_16062025_17_34_24_10204.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b45fd4c00908e06a11633e85dbb411e3.jpg","text":"TemporaryFile(/tmp/multipartBody848568911558357074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897970305,"filename":"image_16062025_17_33_55_10100.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e582cccf4ec6a4207cbdea1f38a38270.jpg","text":"TemporaryFile(/tmp/multipartBody2648972611408561647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897970305,"filename":"image_16062025_17_34_14_8916.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/099f04727a63879522f09b6dfedc2f67.jpg","text":"TemporaryFile(/tmp/multipartBody8128360984363569067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754897970305,"filename":"image_16062025_17_34_34_10126.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376406176","file1":"1376406174","file0":"1376406170","file4":"1376406182","file5":"1376406186","file3":"1376406178"},"map_files_photo_id_array":[{"photo_id":"1376406186","filename":"file5"},{"photo_id":"1376406176","filename":"file2"},{"photo_id":"1376406182","filename":"file4"},{"photo_id":"1376406174","filename":"file1"},{"photo_id":"1376406170","filename":"file0"},{"photo_id":"1376406178","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376406178":["hashtag1","hashtag2"]},{"1376406186":["hashtag1","hashtag2"]},{"1376406174":["hashtag1","hashtag2"]},{"1376406182":["hashtag1","hashtag2"]},{"1376406176":["hashtag1","hashtag2"]},{"1376406170":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376406178, 1376406186, 1376406174, 1376406182, 1376406176, 1376406170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.90648031234741 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:40:02.683566
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/33/image_16062025_17_33_34_10059.jpg', 2), ('/mnt/data/16062025/17/33/image_16062025_17_33_24_10078.jpg', 2), ('/mnt/data/16062025/17/33/image_16062025_17_33_14_9963.jpg', 2), ('/mnt/data/16062025/17/32/image_16062025_17_33_04_10265.jpg', 2), ('/mnt/data/16062025/17/32/image_16062025_17_32_54_10007.jpg', 2), ('/mnt/data/16062025/17/32/image_16062025_17_32_44_9956.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/33/image_16062025_17_33_34_10059.jpg', '/mnt/data/16062025/17/33/image_16062025_17_33_24_10078.jpg', '/mnt/data/16062025/17/33/image_16062025_17_33_14_9963.jpg', '/mnt/data/16062025/17/32/image_16062025_17_33_04_10265.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_54_10007.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_44_9956.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/33/image_16062025_17_33_34_10059.jpg', '/mnt/data/16062025/17/33/image_16062025_17_33_24_10078.jpg', '/mnt/data/16062025/17/33/image_16062025_17_33_14_9963.jpg', '/mnt/data/16062025/17/32/image_16062025_17_33_04_10265.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_54_10007.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_44_9956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/33/image_16062025_17_33_34_10059.jpg
/mnt/data/16062025/17/33/image_16062025_17_33_24_10078.jpg
/mnt/data/16062025/17/33/image_16062025_17_33_14_9963.jpg
/mnt/data/16062025/17/32/image_16062025_17_33_04_10265.jpg
/mnt/data/16062025/17/32/image_16062025_17_32_54_10007.jpg
/mnt/data/16062025/17/32/image_16062025_17_32_44_9956.jpg
uploaded 0 photos
time to upload: 30.402543306350708 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:41:03.045474
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/33/image_16062025_17_33_34_10059.jpg', 2), ('/mnt/data/16062025/17/33/image_16062025_17_33_24_10078.jpg', 2), ('/mnt/data/16062025/17/33/image_16062025_17_33_14_9963.jpg', 2), ('/mnt/data/16062025/17/32/image_16062025_17_33_04_10265.jpg', 2), ('/mnt/data/16062025/17/32/image_16062025_17_32_54_10007.jpg', 2), ('/mnt/data/16062025/17/32/image_16062025_17_32_44_9956.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/33/image_16062025_17_33_34_10059.jpg', '/mnt/data/16062025/17/33/image_16062025_17_33_24_10078.jpg', '/mnt/data/16062025/17/33/image_16062025_17_33_14_9963.jpg', '/mnt/data/16062025/17/32/image_16062025_17_33_04_10265.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_54_10007.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_44_9956.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/33/image_16062025_17_33_34_10059.jpg', '/mnt/data/16062025/17/33/image_16062025_17_33_24_10078.jpg', '/mnt/data/16062025/17/33/image_16062025_17_33_14_9963.jpg', '/mnt/data/16062025/17/32/image_16062025_17_33_04_10265.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_54_10007.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_44_9956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/33/image_16062025_17_33_34_10059.jpg
/mnt/data/16062025/17/33/image_16062025_17_33_24_10078.jpg
/mnt/data/16062025/17/33/image_16062025_17_33_14_9963.jpg
/mnt/data/16062025/17/32/image_16062025_17_33_04_10265.jpg
/mnt/data/16062025/17/32/image_16062025_17_32_54_10007.jpg
/mnt/data/16062025/17/32/image_16062025_17_32_44_9956.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376406401","1376406394","1376406390","1376406398","1376406383","1376406386"],"photo_ids_order":["1376406383","1376406386","1376406390","1376406394","1376406398","1376406401"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/815943c43a3553b3e154be3a0808c2f7.jpg","text":"TemporaryFile(/tmp/multipartBody8148507819817054752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898148509,"filename":"image_16062025_17_32_44_9956.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9321cde444c1e940076f0bb7a7fec9a7.jpg","text":"TemporaryFile(/tmp/multipartBody6651177557462824222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898148509,"filename":"image_16062025_17_33_04_10265.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/74c66e0f3376f801f2c0d6409dd1109b.jpg","text":"TemporaryFile(/tmp/multipartBody2045715515373197611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898148509,"filename":"image_16062025_17_33_14_9963.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1fb75a67e61d35f56f6931ef89bed432.jpg","text":"TemporaryFile(/tmp/multipartBody4052730989685571740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898148509,"filename":"image_16062025_17_32_54_10007.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4b35484eb4fa0c5e8b70c515ca84a53c.jpg","text":"TemporaryFile(/tmp/multipartBody2386763540595615110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898148509,"filename":"image_16062025_17_33_34_10059.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a7a489a6d5985fdf428bb3afd7229dc7.jpg","text":"TemporaryFile(/tmp/multipartBody2467043596121688519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898148509,"filename":"image_16062025_17_33_24_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376406390","file1":"1376406386","file0":"1376406383","file4":"1376406398","file5":"1376406401","file3":"1376406394"},"map_files_photo_id_array":[{"photo_id":"1376406401","filename":"file5"},{"photo_id":"1376406390","filename":"file2"},{"photo_id":"1376406398","filename":"file4"},{"photo_id":"1376406386","filename":"file1"},{"photo_id":"1376406383","filename":"file0"},{"photo_id":"1376406394","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376406401":["hashtag1","hashtag2"]},{"1376406394":["hashtag1","hashtag2"]},{"1376406390":["hashtag1","hashtag2"]},{"1376406398":["hashtag1","hashtag2"]},{"1376406383":["hashtag1","hashtag2"]},{"1376406386":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376406401, 1376406394, 1376406390, 1376406398, 1376406383, 1376406386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.86904668807983 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:43:03.265550
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/32/image_16062025_17_32_34_9948.jpg', 2), ('/mnt/data/16062025/17/32/image_16062025_17_32_24_10023.jpg', 2), ('/mnt/data/16062025/17/32/image_16062025_17_32_14_9994.jpg', 2), ('/mnt/data/16062025/17/31/image_16062025_17_32_04_10183.jpg', 2), ('/mnt/data/16062025/17/31/image_16062025_17_31_54_9938.jpg', 2), ('/mnt/data/16062025/17/31/image_16062025_17_31_44_9993.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/32/image_16062025_17_32_34_9948.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_24_10023.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_14_9994.jpg', '/mnt/data/16062025/17/31/image_16062025_17_32_04_10183.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_54_9938.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_44_9993.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/32/image_16062025_17_32_34_9948.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_24_10023.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_14_9994.jpg', '/mnt/data/16062025/17/31/image_16062025_17_32_04_10183.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_54_9938.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_44_9993.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/32/image_16062025_17_32_34_9948.jpg
/mnt/data/16062025/17/32/image_16062025_17_32_24_10023.jpg
/mnt/data/16062025/17/32/image_16062025_17_32_14_9994.jpg
/mnt/data/16062025/17/31/image_16062025_17_32_04_10183.jpg
/mnt/data/16062025/17/31/image_16062025_17_31_54_9938.jpg
/mnt/data/16062025/17/31/image_16062025_17_31_44_9993.jpg
uploaded 0 photos
time to upload: 30.378954648971558 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:44:03.042680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/32/image_16062025_17_32_34_9948.jpg', 2), ('/mnt/data/16062025/17/32/image_16062025_17_32_24_10023.jpg', 2), ('/mnt/data/16062025/17/32/image_16062025_17_32_14_9994.jpg', 2), ('/mnt/data/16062025/17/31/image_16062025_17_32_04_10183.jpg', 2), ('/mnt/data/16062025/17/31/image_16062025_17_31_54_9938.jpg', 2), ('/mnt/data/16062025/17/31/image_16062025_17_31_44_9993.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/32/image_16062025_17_32_34_9948.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_24_10023.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_14_9994.jpg', '/mnt/data/16062025/17/31/image_16062025_17_32_04_10183.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_54_9938.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_44_9993.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/32/image_16062025_17_32_34_9948.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_24_10023.jpg', '/mnt/data/16062025/17/32/image_16062025_17_32_14_9994.jpg', '/mnt/data/16062025/17/31/image_16062025_17_32_04_10183.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_54_9938.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_44_9993.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/32/image_16062025_17_32_34_9948.jpg
/mnt/data/16062025/17/32/image_16062025_17_32_24_10023.jpg
/mnt/data/16062025/17/32/image_16062025_17_32_14_9994.jpg
/mnt/data/16062025/17/31/image_16062025_17_32_04_10183.jpg
/mnt/data/16062025/17/31/image_16062025_17_31_54_9938.jpg
/mnt/data/16062025/17/31/image_16062025_17_31_44_9993.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376406500","1376406517","1376406528","1376406522","1376406497","1376406533"],"photo_ids_order":["1376406497","1376406500","1376406517","1376406522","1376406528","1376406533"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/11b84a56955c5d04f8c5a45dc6ec391c.jpg","text":"TemporaryFile(/tmp/multipartBody6553406580880356334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898317413,"filename":"image_16062025_17_32_24_10023.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/803886be8d40f4fd9a5ebfc9e7002df8.jpg","text":"TemporaryFile(/tmp/multipartBody961188941055222189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898317413,"filename":"image_16062025_17_32_14_9994.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1adc50256ceddc90a4fcaaad3b2398f0.jpg","text":"TemporaryFile(/tmp/multipartBody6138309988136269305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898317413,"filename":"image_16062025_17_31_54_9938.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/015872fe005477ae2244fcf41988aec1.jpg","text":"TemporaryFile(/tmp/multipartBody3252963445582979475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898317413,"filename":"image_16062025_17_32_04_10183.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a350f350202debb9bd754a267f11ff69.jpg","text":"TemporaryFile(/tmp/multipartBody5854635335725823046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898317413,"filename":"image_16062025_17_32_34_9948.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dfc57e7c6c23443cdff2b608efa2c88d.jpg","text":"TemporaryFile(/tmp/multipartBody7268816765391094026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898317413,"filename":"image_16062025_17_31_44_9993.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376406517","file1":"1376406500","file0":"1376406497","file4":"1376406528","file5":"1376406533","file3":"1376406522"},"map_files_photo_id_array":[{"photo_id":"1376406533","filename":"file5"},{"photo_id":"1376406517","filename":"file2"},{"photo_id":"1376406528","filename":"file4"},{"photo_id":"1376406500","filename":"file1"},{"photo_id":"1376406497","filename":"file0"},{"photo_id":"1376406522","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376406500":["hashtag1","hashtag2"]},{"1376406517":["hashtag1","hashtag2"]},{"1376406528":["hashtag1","hashtag2"]},{"1376406522":["hashtag1","hashtag2"]},{"1376406497":["hashtag1","hashtag2"]},{"1376406533":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376406500, 1376406517, 1376406528, 1376406522, 1376406497, 1376406533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.677534103393555 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:45:02.948605
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/31/image_16062025_17_31_34_9990.jpg', 2), ('/mnt/data/16062025/17/31/image_16062025_17_31_24_9988.jpg', 2), ('/mnt/data/16062025/17/31/image_16062025_17_31_14_9959.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_31_04_10313.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_30_54_8894.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_30_45_11123.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/31/image_16062025_17_31_34_9990.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_24_9988.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_14_9959.jpg', '/mnt/data/16062025/17/30/image_16062025_17_31_04_10313.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_54_8894.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_45_11123.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/31/image_16062025_17_31_34_9990.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_24_9988.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_14_9959.jpg', '/mnt/data/16062025/17/30/image_16062025_17_31_04_10313.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_54_8894.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_45_11123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/31/image_16062025_17_31_34_9990.jpg
/mnt/data/16062025/17/31/image_16062025_17_31_24_9988.jpg
/mnt/data/16062025/17/31/image_16062025_17_31_14_9959.jpg
/mnt/data/16062025/17/30/image_16062025_17_31_04_10313.jpg
/mnt/data/16062025/17/30/image_16062025_17_30_54_8894.jpg
/mnt/data/16062025/17/30/image_16062025_17_30_45_11123.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376406568","1376406643","1376406604","1376406651","1376406624","1376406621"],"photo_ids_order":["1376406568","1376406604","1376406621","1376406624","1376406643","1376406651"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7195177c23d2eb28369b6b2b31b0dc76.jpg","text":"TemporaryFile(/tmp/multipartBody3192202371735078386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898377723,"filename":"image_16062025_17_31_34_9990.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d6b982a701311e8cc04ff9a359ebe29d.jpg","text":"TemporaryFile(/tmp/multipartBody2041961363546251648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898377723,"filename":"image_16062025_17_30_54_8894.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dc1ecd297f280947f56e9b5a77ccf143.jpg","text":"TemporaryFile(/tmp/multipartBody1711820318664950238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898377723,"filename":"image_16062025_17_31_24_9988.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c0a09f835c3288d9881e7d8c76c10344.jpg","text":"TemporaryFile(/tmp/multipartBody7793101350702118996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898377723,"filename":"image_16062025_17_30_45_11123.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c3915e4c5940307b38e8da1736a495fb.jpg","text":"TemporaryFile(/tmp/multipartBody6949934616327471033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898377723,"filename":"image_16062025_17_31_04_10313.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/932ae1f9b244895ac2bd4595d2d66e39.jpg","text":"TemporaryFile(/tmp/multipartBody2328038340806609153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898377723,"filename":"image_16062025_17_31_14_9959.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376406621","file1":"1376406604","file0":"1376406568","file4":"1376406643","file5":"1376406651","file3":"1376406624"},"map_files_photo_id_array":[{"photo_id":"1376406651","filename":"file5"},{"photo_id":"1376406621","filename":"file2"},{"photo_id":"1376406643","filename":"file4"},{"photo_id":"1376406604","filename":"file1"},{"photo_id":"1376406568","filename":"file0"},{"photo_id":"1376406624","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376406568":["hashtag1","hashtag2"]},{"1376406643":["hashtag1","hashtag2"]},{"1376406604":["hashtag1","hashtag2"]},{"1376406651":["hashtag1","hashtag2"]},{"1376406624":["hashtag1","hashtag2"]},{"1376406621":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376406568, 1376406643, 1376406604, 1376406651, 1376406624, 1376406621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.7372100353241 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:46:02.492352
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg', '/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg', '/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg
/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg
/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg
/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg
/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg
/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg
uploaded 0 photos
time to upload: 30.411662340164185 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:47:02.394726
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg', '/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg', '/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg
/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg
/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg
/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg
/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg
/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg
uploaded 0 photos
time to upload: 30.305591821670532 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:48:03.288016
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg', '/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg', '/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg
/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg
/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg
/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg
/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg
/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376406832","1376406835","1376406817","1376406825","1376406828","1376406821"],"photo_ids_order":["1376406817","1376406821","1376406825","1376406828","1376406832","1376406835"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b7d534961b7e650a03aee928b976e824.jpg","text":"TemporaryFile(/tmp/multipartBody1787370684628252643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898571936,"filename":"image_16062025_17_29_54_9006.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fc529079d83257edb349fb315575449f.jpg","text":"TemporaryFile(/tmp/multipartBody6641872667056075780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898571936,"filename":"image_16062025_17_29_45_10250.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cebe916fcb723b46ea388b327f0a3a2d.jpg","text":"TemporaryFile(/tmp/multipartBody5279571151425466304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898571936,"filename":"image_16062025_17_30_34_8879.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fd91989d95a70203038d436954465866.jpg","text":"TemporaryFile(/tmp/multipartBody1952027611076336395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898571936,"filename":"image_16062025_17_30_15_10207.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fb68a4472c3f78815e0a0c4e04a46178.jpg","text":"TemporaryFile(/tmp/multipartBody2862732911186402778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898571936,"filename":"image_16062025_17_30_04_10560.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7fe4d1a7b84b0dacc82e33714276b0e4.jpg","text":"TemporaryFile(/tmp/multipartBody6295371680132516539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898571936,"filename":"image_16062025_17_30_25_10143.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376406825","file1":"1376406821","file0":"1376406817","file4":"1376406832","file5":"1376406835","file3":"1376406828"},"map_files_photo_id_array":[{"photo_id":"1376406835","filename":"file5"},{"photo_id":"1376406825","filename":"file2"},{"photo_id":"1376406832","filename":"file4"},{"photo_id":"1376406821","filename":"file1"},{"photo_id":"1376406817","filename":"file0"},{"photo_id":"1376406828","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376406832":["hashtag1","hashtag2"]},{"1376406835":["hashtag1","hashtag2"]},{"1376406817":["hashtag1","hashtag2"]},{"1376406825":["hashtag1","hashtag2"]},{"1376406828":["hashtag1","hashtag2"]},{"1376406821":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376406832, 1376406835, 1376406817, 1376406825, 1376406828, 1376406821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.78424668312073 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:50:02.436058
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/29/image_16062025_17_29_35_10079.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_29_25_10188.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_29_14_10171.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_29_04_10236.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_54_10122.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_44_10142.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/29/image_16062025_17_29_35_10079.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_25_10188.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_14_10171.jpg', '/mnt/data/16062025/17/28/image_16062025_17_29_04_10236.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_54_10122.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_44_10142.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/29/image_16062025_17_29_35_10079.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_25_10188.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_14_10171.jpg', '/mnt/data/16062025/17/28/image_16062025_17_29_04_10236.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_54_10122.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_44_10142.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/29/image_16062025_17_29_35_10079.jpg
/mnt/data/16062025/17/29/image_16062025_17_29_25_10188.jpg
/mnt/data/16062025/17/29/image_16062025_17_29_14_10171.jpg
/mnt/data/16062025/17/28/image_16062025_17_29_04_10236.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_54_10122.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_44_10142.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376406979","1376406996","1376406987","1376406966","1376406945","1376406947"],"photo_ids_order":["1376406945","1376406947","1376406966","1376406979","1376406987","1376406996"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a3d506144d157d8aba7943a73368c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody6750053341989852987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898673990,"filename":"image_16062025_17_29_04_10236.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/51ec893fb6d5ddccf459f15a28be7050.jpg","text":"TemporaryFile(/tmp/multipartBody7414786419268946359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898673990,"filename":"image_16062025_17_28_44_10142.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/82a21e98de1288f405976d04df160ecb.jpg","text":"TemporaryFile(/tmp/multipartBody7874483732299128180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898673990,"filename":"image_16062025_17_28_54_10122.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f6419157a5205bd3b8846ac2c711b19a.jpg","text":"TemporaryFile(/tmp/multipartBody3009100291486077488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898673990,"filename":"image_16062025_17_29_14_10171.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6459b343dd1ce4f9290d9ba571623003.jpg","text":"TemporaryFile(/tmp/multipartBody5174925472467313630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898673990,"filename":"image_16062025_17_29_35_10079.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ce422920f2d2893ca0a2ed2065eaecfc.jpg","text":"TemporaryFile(/tmp/multipartBody8383336027843605519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898673990,"filename":"image_16062025_17_29_25_10188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376406966","file1":"1376406947","file0":"1376406945","file4":"1376406987","file5":"1376406996","file3":"1376406979"},"map_files_photo_id_array":[{"photo_id":"1376406996","filename":"file5"},{"photo_id":"1376406966","filename":"file2"},{"photo_id":"1376406987","filename":"file4"},{"photo_id":"1376406947","filename":"file1"},{"photo_id":"1376406945","filename":"file0"},{"photo_id":"1376406979","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376406979":["hashtag1","hashtag2"]},{"1376406996":["hashtag1","hashtag2"]},{"1376406987":["hashtag1","hashtag2"]},{"1376406966":["hashtag1","hashtag2"]},{"1376406945":["hashtag1","hashtag2"]},{"1376406947":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376406979, 1376406996, 1376406987, 1376406966, 1376406945, 1376406947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.21515345573425 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:51:03.586003
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', '/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', '/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg
/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg
uploaded 0 photos
time to upload: 30.382757663726807 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:52:03.107907
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', '/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', '/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg
/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg
uploaded 0 photos
time to upload: 30.3326632976532 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:53:03.022976
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', '/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', '/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg
/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg
uploaded 0 photos
time to upload: 30.317402601242065 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:54:02.415890
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', '/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', '/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg
/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_44_9985.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376407185","1376407179","1376407200","1376407196","1376407190","1376407174"],"photo_ids_order":["1376407174","1376407179","1376407185","1376407190","1376407196","1376407200"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b30ff44330cdaa3124b36d23ee3a5360.jpg","text":"TemporaryFile(/tmp/multipartBody1824984264185116703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898920962,"filename":"image_16062025_17_28_14_10207.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d0115155df922d445163c00606f30a6e.jpg","text":"TemporaryFile(/tmp/multipartBody5016398449940272531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898920962,"filename":"image_16062025_17_28_25_10209.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b077ef28c61f4e956532fe7312375e8b.jpg","text":"TemporaryFile(/tmp/multipartBody9135941334097111104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898920962,"filename":"image_16062025_17_27_44_9985.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/93c90d06f066563f1a9145504011c3ac.jpg","text":"TemporaryFile(/tmp/multipartBody9124972883787366480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898920962,"filename":"image_16062025_17_27_54_10095.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/65b755f0a412d2db0c5722ea9ba271fe.jpg","text":"TemporaryFile(/tmp/multipartBody3604473781005220703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898920962,"filename":"image_16062025_17_28_04_10214.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8ff94f49fa5212fc87758205eb92cf93.jpg","text":"TemporaryFile(/tmp/multipartBody7177487979470213535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754898920962,"filename":"image_16062025_17_28_34_9062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376407185","file1":"1376407179","file0":"1376407174","file4":"1376407196","file5":"1376407200","file3":"1376407190"},"map_files_photo_id_array":[{"photo_id":"1376407200","filename":"file5"},{"photo_id":"1376407185","filename":"file2"},{"photo_id":"1376407196","filename":"file4"},{"photo_id":"1376407179","filename":"file1"},{"photo_id":"1376407174","filename":"file0"},{"photo_id":"1376407190","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376407185":["hashtag1","hashtag2"]},{"1376407179":["hashtag1","hashtag2"]},{"1376407200":["hashtag1","hashtag2"]},{"1376407196":["hashtag1","hashtag2"]},{"1376407190":["hashtag1","hashtag2"]},{"1376407174":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376407185, 1376407179, 1376407200, 1376407196, 1376407190, 1376407174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.04262566566467 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:55:02.896420
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', '/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', '/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg
/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg
uploaded 0 photos
time to upload: 30.363540410995483 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:56:02.446683
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', '/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', '/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg
/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg
uploaded 0 photos
time to upload: 30.301995277404785 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:57:03.578355
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', '/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', '/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg
/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 09:59:02.826109
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', '/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', '/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg
/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg
uploaded 0 photos
time to upload: 30.306596040725708 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:00:02.769369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', '/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg', '/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/27/image_16062025_17_27_34_10155.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_24_8969.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_15_10289.jpg
/mnt/data/16062025/17/26/image_16062025_17_27_04_10401.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_54_10203.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376408556","1376408520","1376408525","1376408534","1376408560","1376408530"],"photo_ids_order":["1376408520","1376408525","1376408530","1376408534","1376408556","1376408560"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/724f23edbb0f8f073840eaffbaec3af3.jpg","text":"TemporaryFile(/tmp/multipartBody8007544037539176566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899274532,"filename":"image_16062025_17_26_54_10203.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/89f397d03c2f7afd7edbc09a848920fb.jpg","text":"TemporaryFile(/tmp/multipartBody7410113545676327654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899274532,"filename":"image_16062025_17_27_34_10155.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fcc9413380c06955e25ebc83fffe5897.jpg","text":"TemporaryFile(/tmp/multipartBody5560195942489576606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899274532,"filename":"image_16062025_17_27_24_8969.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/686584cb3d42b826489ef8b470dcce8f.jpg","text":"TemporaryFile(/tmp/multipartBody1876493946673121279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899274532,"filename":"image_16062025_17_27_04_10401.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/96e3d71b3473fe34a5ebe8d5e297c1c7.jpg","text":"TemporaryFile(/tmp/multipartBody7116306714712365943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899274532,"filename":"image_16062025_17_26_44_9061.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2b7b6762086ed20cca49e3eedda50328.jpg","text":"TemporaryFile(/tmp/multipartBody329656537123582357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899274532,"filename":"image_16062025_17_27_15_10289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376408530","file1":"1376408525","file0":"1376408520","file4":"1376408556","file5":"1376408560","file3":"1376408534"},"map_files_photo_id_array":[{"photo_id":"1376408560","filename":"file5"},{"photo_id":"1376408530","filename":"file2"},{"photo_id":"1376408556","filename":"file4"},{"photo_id":"1376408525","filename":"file1"},{"photo_id":"1376408520","filename":"file0"},{"photo_id":"1376408534","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376408556":["hashtag1","hashtag2"]},{"1376408520":["hashtag1","hashtag2"]},{"1376408525":["hashtag1","hashtag2"]},{"1376408534":["hashtag1","hashtag2"]},{"1376408560":["hashtag1","hashtag2"]},{"1376408530":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376408556, 1376408520, 1376408525, 1376408534, 1376408560, 1376408530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.441263914108276 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:01:02.804152
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/26/image_16062025_17_26_35_10232.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_25_10128.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_14_10234.jpg', 2), ('/mnt/data/16062025/17/25/image_16062025_17_26_04_10420.jpg', 2), ('/mnt/data/16062025/17/25/image_16062025_17_25_54_10149.jpg', 2), ('/mnt/data/16062025/17/25/image_16062025_17_25_44_8960.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/26/image_16062025_17_26_35_10232.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_25_10128.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_14_10234.jpg', '/mnt/data/16062025/17/25/image_16062025_17_26_04_10420.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_54_10149.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_44_8960.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/26/image_16062025_17_26_35_10232.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_25_10128.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_14_10234.jpg', '/mnt/data/16062025/17/25/image_16062025_17_26_04_10420.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_54_10149.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_44_8960.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/26/image_16062025_17_26_35_10232.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_25_10128.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_14_10234.jpg
/mnt/data/16062025/17/25/image_16062025_17_26_04_10420.jpg
/mnt/data/16062025/17/25/image_16062025_17_25_54_10149.jpg
/mnt/data/16062025/17/25/image_16062025_17_25_44_8960.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376408640","1376408637","1376408642","1376408627","1376408635","1376408632"],"photo_ids_order":["1376408627","1376408632","1376408635","1376408637","1376408640","1376408642"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c148f9b81a367f615c8be685777a7bdc.jpg","text":"TemporaryFile(/tmp/multipartBody7102531808151282311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899347507,"filename":"image_16062025_17_25_54_10149.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0f701c000a98fe3cf6849dcc8852c018.jpg","text":"TemporaryFile(/tmp/multipartBody3437132864509382380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899347507,"filename":"image_16062025_17_26_04_10420.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/15ca5310c39741e024415af4c01ac01f.jpg","text":"TemporaryFile(/tmp/multipartBody1571449597339995591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899347507,"filename":"image_16062025_17_25_44_8960.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1c07b24898a072de381b1417bb3ba556.jpg","text":"TemporaryFile(/tmp/multipartBody8874943124641888188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899347507,"filename":"image_16062025_17_26_35_10232.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5058c09097794fdda38fcb95885f6009.jpg","text":"TemporaryFile(/tmp/multipartBody3325507274814758301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899347507,"filename":"image_16062025_17_26_14_10234.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8575a6c099e978821871859023d360e9.jpg","text":"TemporaryFile(/tmp/multipartBody6183590630329875249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899347507,"filename":"image_16062025_17_26_25_10128.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376408635","file1":"1376408632","file0":"1376408627","file4":"1376408640","file5":"1376408642","file3":"1376408637"},"map_files_photo_id_array":[{"photo_id":"1376408642","filename":"file5"},{"photo_id":"1376408635","filename":"file2"},{"photo_id":"1376408640","filename":"file4"},{"photo_id":"1376408632","filename":"file1"},{"photo_id":"1376408627","filename":"file0"},{"photo_id":"1376408637","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376408640":["hashtag1","hashtag2"]},{"1376408637":["hashtag1","hashtag2"]},{"1376408642":["hashtag1","hashtag2"]},{"1376408627":["hashtag1","hashtag2"]},{"1376408635":["hashtag1","hashtag2"]},{"1376408632":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376408640, 1376408637, 1376408642, 1376408627, 1376408635, 1376408632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.28045868873596 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:03:03.630106
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', 2), ('/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', '/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', '/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg
/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg
/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg
uploaded 0 photos
time to upload: 30.35836887359619 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:04:03.287526
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', 2), ('/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', '/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', '/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg
/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg
/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 149.39770817756653 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:07:03.441020
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', 2), ('/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', '/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', '/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg
/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg
/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg
uploaded 0 photos
time to upload: 30.315320014953613 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:08:03.110432
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', 2), ('/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', '/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', '/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg
/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg
/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg
uploaded 0 photos
time to upload: 30.286887168884277 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:09:03.189667
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', 2), ('/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', '/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', '/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg
/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg
/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376409114","1376409108","1376409101","1376409104","1376409097","1376409112"],"photo_ids_order":["1376409097","1376409101","1376409104","1376409108","1376409112","1376409114"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3eb9d220a3462fa0b176eadbeb9a820a.jpg","text":"TemporaryFile(/tmp/multipartBody284987104934895607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899828570,"filename":"image_16062025_17_24_34_10058.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a080c7fe6b4c70c1a6a194cc92284ec5.jpg","text":"TemporaryFile(/tmp/multipartBody8914288352067842427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899828570,"filename":"image_16062025_17_24_55_10189.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f1cee5b2c997ce282eeacf8af27287db.jpg","text":"TemporaryFile(/tmp/multipartBody4525282372505785626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899828570,"filename":"image_16062025_17_25_14_10124.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bb9c06ea0fc37e2ce743ff2e0c8c3035.jpg","text":"TemporaryFile(/tmp/multipartBody8259157251273012827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899828570,"filename":"image_16062025_17_25_04_9426.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0f925fc2c72989dea3323835d55192ac.jpg","text":"TemporaryFile(/tmp/multipartBody7657137724645299244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899828570,"filename":"image_16062025_17_25_24_10124.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0448981ce726415155be5f539b8c8265.jpg","text":"TemporaryFile(/tmp/multipartBody1811365050735060892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899828570,"filename":"image_16062025_17_24_45_10079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376409104","file1":"1376409101","file0":"1376409097","file4":"1376409112","file5":"1376409114","file3":"1376409108"},"map_files_photo_id_array":[{"photo_id":"1376409114","filename":"file5"},{"photo_id":"1376409104","filename":"file2"},{"photo_id":"1376409112","filename":"file4"},{"photo_id":"1376409101","filename":"file1"},{"photo_id":"1376409097","filename":"file0"},{"photo_id":"1376409108","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376409114":["hashtag1","hashtag2"]},{"1376409108":["hashtag1","hashtag2"]},{"1376409101":["hashtag1","hashtag2"]},{"1376409104":["hashtag1","hashtag2"]},{"1376409097":["hashtag1","hashtag2"]},{"1376409112":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376409114, 1376409108, 1376409101, 1376409104, 1376409097, 1376409112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.47497296333313 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:11:03.379248
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/24/image_16062025_17_24_24_10019.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_14_10017.jpg', 2), ('/mnt/data/16062025/17/23/image_16062025_17_24_04_10303.jpg', 2), ('/mnt/data/16062025/17/23/image_16062025_17_23_54_10127.jpg', 2), ('/mnt/data/16062025/17/23/image_16062025_17_23_34_10098.jpg', 2), ('/mnt/data/16062025/17/23/image_16062025_17_23_24_9830.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/24/image_16062025_17_24_24_10019.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_14_10017.jpg', '/mnt/data/16062025/17/23/image_16062025_17_24_04_10303.jpg', '/mnt/data/16062025/17/23/image_16062025_17_23_54_10127.jpg', '/mnt/data/16062025/17/23/image_16062025_17_23_34_10098.jpg', '/mnt/data/16062025/17/23/image_16062025_17_23_24_9830.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/24/image_16062025_17_24_24_10019.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_14_10017.jpg', '/mnt/data/16062025/17/23/image_16062025_17_24_04_10303.jpg', '/mnt/data/16062025/17/23/image_16062025_17_23_54_10127.jpg', '/mnt/data/16062025/17/23/image_16062025_17_23_34_10098.jpg', '/mnt/data/16062025/17/23/image_16062025_17_23_24_9830.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/24/image_16062025_17_24_24_10019.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_14_10017.jpg
/mnt/data/16062025/17/23/image_16062025_17_24_04_10303.jpg
/mnt/data/16062025/17/23/image_16062025_17_23_54_10127.jpg
/mnt/data/16062025/17/23/image_16062025_17_23_34_10098.jpg
/mnt/data/16062025/17/23/image_16062025_17_23_24_9830.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376409177","1376409194","1376409188","1376409182","1376409192","1376409186"],"photo_ids_order":["1376409177","1376409182","1376409186","1376409188","1376409192","1376409194"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7de33b0392fd5c73b9e60ad5e46330b6.jpg","text":"TemporaryFile(/tmp/multipartBody9078215590544929525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899946572,"filename":"image_16062025_17_24_24_10019.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/722a842e9ccf4f9ac5920d996e0e5fe1.jpg","text":"TemporaryFile(/tmp/multipartBody8593543510105311016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899946572,"filename":"image_16062025_17_23_24_9830.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d2652b175c834c185ec26a444bd1bdb5.jpg","text":"TemporaryFile(/tmp/multipartBody6352340186732748619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899946572,"filename":"image_16062025_17_23_54_10127.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/999e8048b67dfbec2891e971f9cd4014.jpg","text":"TemporaryFile(/tmp/multipartBody1030210975032463622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899946572,"filename":"image_16062025_17_24_14_10017.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/005058f4b5dcaf65e38eab18866321ee.jpg","text":"TemporaryFile(/tmp/multipartBody4772124528581042055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899946572,"filename":"image_16062025_17_23_34_10098.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5178ce094e6942a2ef2c38b711c0e7d2.jpg","text":"TemporaryFile(/tmp/multipartBody427086464657018113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754899946572,"filename":"image_16062025_17_24_04_10303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376409186","file1":"1376409182","file0":"1376409177","file4":"1376409192","file5":"1376409194","file3":"1376409188"},"map_files_photo_id_array":[{"photo_id":"1376409194","filename":"file5"},{"photo_id":"1376409186","filename":"file2"},{"photo_id":"1376409192","filename":"file4"},{"photo_id":"1376409182","filename":"file1"},{"photo_id":"1376409177","filename":"file0"},{"photo_id":"1376409188","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376409177":["hashtag1","hashtag2"]},{"1376409194":["hashtag1","hashtag2"]},{"1376409188":["hashtag1","hashtag2"]},{"1376409182":["hashtag1","hashtag2"]},{"1376409192":["hashtag1","hashtag2"]},{"1376409186":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376409177, 1376409194, 1376409188, 1376409182, 1376409192, 1376409186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.358208656311035 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:13:03.163870
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/23/image_16062025_17_23_14_9974.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_23_04_10156.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_22_54_9913.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_22_34_9955.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_22_24_10058.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/23/image_16062025_17_23_14_9974.jpg', '/mnt/data/16062025/17/22/image_16062025_17_23_04_10156.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_54_9913.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_34_9955.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_24_10058.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/23/image_16062025_17_23_14_9974.jpg', '/mnt/data/16062025/17/22/image_16062025_17_23_04_10156.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_54_9913.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_34_9955.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_24_10058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/23/image_16062025_17_23_14_9974.jpg
/mnt/data/16062025/17/22/image_16062025_17_23_04_10156.jpg
/mnt/data/16062025/17/22/image_16062025_17_22_54_9913.jpg
/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg
/mnt/data/16062025/17/22/image_16062025_17_22_34_9955.jpg
/mnt/data/16062025/17/22/image_16062025_17_22_24_10058.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 130.9665172100067 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:16:03.028216
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/23/image_16062025_17_23_14_9974.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_23_04_10156.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_22_54_9913.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_22_34_9955.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_22_24_10058.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/23/image_16062025_17_23_14_9974.jpg', '/mnt/data/16062025/17/22/image_16062025_17_23_04_10156.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_54_9913.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_34_9955.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_24_10058.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/23/image_16062025_17_23_14_9974.jpg', '/mnt/data/16062025/17/22/image_16062025_17_23_04_10156.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_54_9913.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_34_9955.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_24_10058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/23/image_16062025_17_23_14_9974.jpg
/mnt/data/16062025/17/22/image_16062025_17_23_04_10156.jpg
/mnt/data/16062025/17/22/image_16062025_17_22_54_9913.jpg
/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg
/mnt/data/16062025/17/22/image_16062025_17_22_34_9955.jpg
/mnt/data/16062025/17/22/image_16062025_17_22_24_10058.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376409519","1376409584","1376409522","1376409568","1376409532","1376409555"],"photo_ids_order":["1376409519","1376409522","1376409532","1376409555","1376409568","1376409584"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9b7437842a0d979b7d28dc994aa5a761.jpg","text":"TemporaryFile(/tmp/multipartBody5966074726601097334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900237648,"filename":"image_16062025_17_23_14_9974.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e2071d3c16e36fc28edfadfdb25dd6e2.jpg","text":"TemporaryFile(/tmp/multipartBody5748121851071474132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900237648,"filename":"image_16062025_17_22_24_10058.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c1ac1b719822f7138630637e93993167.jpg","text":"TemporaryFile(/tmp/multipartBody7995440893882594822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900237648,"filename":"image_16062025_17_23_04_10156.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c576b861e912738e5cd6de1207c29f22.jpg","text":"TemporaryFile(/tmp/multipartBody2829927140859015344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900237648,"filename":"image_16062025_17_22_34_9955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/052b69e50cf7f8041d7be9ff640fd891.jpg","text":"TemporaryFile(/tmp/multipartBody3964041149409895168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900237648,"filename":"image_16062025_17_22_54_9913.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/355f8257475b8c79d8db7b08a4b2151e.jpg","text":"TemporaryFile(/tmp/multipartBody1670131469565671865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900237648,"filename":"image_16062025_17_22_44_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376409532","file1":"1376409522","file0":"1376409519","file4":"1376409568","file5":"1376409584","file3":"1376409555"},"map_files_photo_id_array":[{"photo_id":"1376409584","filename":"file5"},{"photo_id":"1376409532","filename":"file2"},{"photo_id":"1376409568","filename":"file4"},{"photo_id":"1376409522","filename":"file1"},{"photo_id":"1376409519","filename":"file0"},{"photo_id":"1376409555","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376409519":["hashtag1","hashtag2"]},{"1376409584":["hashtag1","hashtag2"]},{"1376409522":["hashtag1","hashtag2"]},{"1376409568":["hashtag1","hashtag2"]},{"1376409532":["hashtag1","hashtag2"]},{"1376409555":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376409519, 1376409584, 1376409522, 1376409568, 1376409532, 1376409555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.861302852630615 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:17:03.005074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/22/image_16062025_17_22_14_10078.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_22_04_9284.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_21_55_10101.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_21_44_10085.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_21_34_10094.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_21_24_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/22/image_16062025_17_22_14_10078.jpg', '/mnt/data/16062025/17/21/image_16062025_17_22_04_9284.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_55_10101.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_44_10085.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_34_10094.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_24_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/22/image_16062025_17_22_14_10078.jpg', '/mnt/data/16062025/17/21/image_16062025_17_22_04_9284.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_55_10101.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_44_10085.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_34_10094.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_24_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/22/image_16062025_17_22_14_10078.jpg
/mnt/data/16062025/17/21/image_16062025_17_22_04_9284.jpg
/mnt/data/16062025/17/21/image_16062025_17_21_55_10101.jpg
/mnt/data/16062025/17/21/image_16062025_17_21_44_10085.jpg
/mnt/data/16062025/17/21/image_16062025_17_21_34_10094.jpg
/mnt/data/16062025/17/21/image_16062025_17_21_24_10071.jpg
uploaded 0 photos
time to upload: 30.3754403591156 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:18:02.651151
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/22/image_16062025_17_22_14_10078.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_22_04_9284.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_21_55_10101.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_21_44_10085.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_21_34_10094.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_21_24_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/22/image_16062025_17_22_14_10078.jpg', '/mnt/data/16062025/17/21/image_16062025_17_22_04_9284.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_55_10101.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_44_10085.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_34_10094.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_24_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/22/image_16062025_17_22_14_10078.jpg', '/mnt/data/16062025/17/21/image_16062025_17_22_04_9284.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_55_10101.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_44_10085.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_34_10094.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_24_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/22/image_16062025_17_22_14_10078.jpg
/mnt/data/16062025/17/21/image_16062025_17_22_04_9284.jpg
/mnt/data/16062025/17/21/image_16062025_17_21_55_10101.jpg
/mnt/data/16062025/17/21/image_16062025_17_21_44_10085.jpg
/mnt/data/16062025/17/21/image_16062025_17_21_34_10094.jpg
/mnt/data/16062025/17/21/image_16062025_17_21_24_10071.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376409845","1376409854","1376409827","1376409842","1376409886","1376409891"],"photo_ids_order":["1376409827","1376409842","1376409845","1376409854","1376409886","1376409891"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/64ad46505dd9ff6af20f1226d60d8200.jpg","text":"TemporaryFile(/tmp/multipartBody4216624618972457255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900362883,"filename":"image_16062025_17_21_55_10101.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5b4d18a2e5b34b96392c21a4a4472e17.jpg","text":"TemporaryFile(/tmp/multipartBody1122745904531096051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900362883,"filename":"image_16062025_17_21_44_10085.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9d7e66d64c7331e5a72e3b312594e2ac.jpg","text":"TemporaryFile(/tmp/multipartBody96247051825184781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900362883,"filename":"image_16062025_17_22_14_10078.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e78a07f59b1c0b8c275076a43aab6094.jpg","text":"TemporaryFile(/tmp/multipartBody2051232382150907283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900362883,"filename":"image_16062025_17_22_04_9284.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5b8e1810f40abf7a9d4b07e6129d6284.jpg","text":"TemporaryFile(/tmp/multipartBody1237276402774262561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900362883,"filename":"image_16062025_17_21_34_10094.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7c0576e183581e7ff3973d59201bc192.jpg","text":"TemporaryFile(/tmp/multipartBody5749117428710270629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900362883,"filename":"image_16062025_17_21_24_10071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376409845","file1":"1376409842","file0":"1376409827","file4":"1376409886","file5":"1376409891","file3":"1376409854"},"map_files_photo_id_array":[{"photo_id":"1376409891","filename":"file5"},{"photo_id":"1376409845","filename":"file2"},{"photo_id":"1376409886","filename":"file4"},{"photo_id":"1376409842","filename":"file1"},{"photo_id":"1376409827","filename":"file0"},{"photo_id":"1376409854","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376409845":["hashtag1","hashtag2"]},{"1376409854":["hashtag1","hashtag2"]},{"1376409827":["hashtag1","hashtag2"]},{"1376409842":["hashtag1","hashtag2"]},{"1376409886":["hashtag1","hashtag2"]},{"1376409891":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376409845, 1376409854, 1376409827, 1376409842, 1376409886, 1376409891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.359423875808716 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:20:03.047370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/21/image_16062025_17_21_14_10073.jpg', 2), ('/mnt/data/16062025/17/20/image_16062025_17_21_04_10270.jpg', 2), ('/mnt/data/16062025/17/20/image_16062025_17_20_54_9974.jpg', 2), ('/mnt/data/16062025/17/20/image_16062025_17_20_44_9997.jpg', 2), ('/mnt/data/16062025/17/20/image_16062025_17_20_34_10003.jpg', 2), ('/mnt/data/16062025/17/20/image_16062025_17_20_24_9935.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/21/image_16062025_17_21_14_10073.jpg', '/mnt/data/16062025/17/20/image_16062025_17_21_04_10270.jpg', '/mnt/data/16062025/17/20/image_16062025_17_20_54_9974.jpg', '/mnt/data/16062025/17/20/image_16062025_17_20_44_9997.jpg', '/mnt/data/16062025/17/20/image_16062025_17_20_34_10003.jpg', '/mnt/data/16062025/17/20/image_16062025_17_20_24_9935.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/21/image_16062025_17_21_14_10073.jpg', '/mnt/data/16062025/17/20/image_16062025_17_21_04_10270.jpg', '/mnt/data/16062025/17/20/image_16062025_17_20_54_9974.jpg', '/mnt/data/16062025/17/20/image_16062025_17_20_44_9997.jpg', '/mnt/data/16062025/17/20/image_16062025_17_20_34_10003.jpg', '/mnt/data/16062025/17/20/image_16062025_17_20_24_9935.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/21/image_16062025_17_21_14_10073.jpg
/mnt/data/16062025/17/20/image_16062025_17_21_04_10270.jpg
/mnt/data/16062025/17/20/image_16062025_17_20_54_9974.jpg
/mnt/data/16062025/17/20/image_16062025_17_20_44_9997.jpg
/mnt/data/16062025/17/20/image_16062025_17_20_34_10003.jpg
/mnt/data/16062025/17/20/image_16062025_17_20_24_9935.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376410131","1376410122","1376410101","1376410107","1376410127","1376410115"],"photo_ids_order":["1376410101","1376410107","1376410115","1376410122","1376410127","1376410131"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a90beb29a3f71e1419c1c0019f19694f.jpg","text":"TemporaryFile(/tmp/multipartBody766973107008059648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900479448,"filename":"image_16062025_17_20_24_9935.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/eb185bbef3cc830cfcbbe5dc76882303.jpg","text":"TemporaryFile(/tmp/multipartBody2602279493648711149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900479448,"filename":"image_16062025_17_20_44_9997.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7dfa84ae171aba3cb2c1d02b70173097.jpg","text":"TemporaryFile(/tmp/multipartBody9008684893591795377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900479448,"filename":"image_16062025_17_21_14_10073.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1ee7de3d4b774df7692711cf7e999214.jpg","text":"TemporaryFile(/tmp/multipartBody8759330050102973275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900479448,"filename":"image_16062025_17_21_04_10270.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c865aa04b2d61073ad1df24dce02f82c.jpg","text":"TemporaryFile(/tmp/multipartBody3121748655824632005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900479448,"filename":"image_16062025_17_20_34_10003.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e7c7c0d4c98bc0869b35403d38308a63.jpg","text":"TemporaryFile(/tmp/multipartBody9089354582483441962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900479448,"filename":"image_16062025_17_20_54_9974.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376410115","file1":"1376410107","file0":"1376410101","file4":"1376410127","file5":"1376410131","file3":"1376410122"},"map_files_photo_id_array":[{"photo_id":"1376410131","filename":"file5"},{"photo_id":"1376410115","filename":"file2"},{"photo_id":"1376410127","filename":"file4"},{"photo_id":"1376410107","filename":"file1"},{"photo_id":"1376410101","filename":"file0"},{"photo_id":"1376410122","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376410131":["hashtag1","hashtag2"]},{"1376410122":["hashtag1","hashtag2"]},{"1376410101":["hashtag1","hashtag2"]},{"1376410107":["hashtag1","hashtag2"]},{"1376410127":["hashtag1","hashtag2"]},{"1376410115":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376410131, 1376410122, 1376410101, 1376410107, 1376410127, 1376410115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.30461764335632 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:21:03.057874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/20/image_16062025_17_20_14_9966.jpg', 2), ('/mnt/data/16062025/17/19/image_16062025_17_20_04_10360.jpg', 2), ('/mnt/data/16062025/17/19/image_16062025_17_19_54_9966.jpg', 2), ('/mnt/data/16062025/17/19/image_16062025_17_19_44_9991.jpg', 2), ('/mnt/data/16062025/17/19/image_16062025_17_19_34_9995.jpg', 2), ('/mnt/data/16062025/17/19/image_16062025_17_19_24_9976.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/20/image_16062025_17_20_14_9966.jpg', '/mnt/data/16062025/17/19/image_16062025_17_20_04_10360.jpg', '/mnt/data/16062025/17/19/image_16062025_17_19_54_9966.jpg', '/mnt/data/16062025/17/19/image_16062025_17_19_44_9991.jpg', '/mnt/data/16062025/17/19/image_16062025_17_19_34_9995.jpg', '/mnt/data/16062025/17/19/image_16062025_17_19_24_9976.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/20/image_16062025_17_20_14_9966.jpg', '/mnt/data/16062025/17/19/image_16062025_17_20_04_10360.jpg', '/mnt/data/16062025/17/19/image_16062025_17_19_54_9966.jpg', '/mnt/data/16062025/17/19/image_16062025_17_19_44_9991.jpg', '/mnt/data/16062025/17/19/image_16062025_17_19_34_9995.jpg', '/mnt/data/16062025/17/19/image_16062025_17_19_24_9976.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/20/image_16062025_17_20_14_9966.jpg
/mnt/data/16062025/17/19/image_16062025_17_20_04_10360.jpg
/mnt/data/16062025/17/19/image_16062025_17_19_54_9966.jpg
/mnt/data/16062025/17/19/image_16062025_17_19_44_9991.jpg
/mnt/data/16062025/17/19/image_16062025_17_19_34_9995.jpg
/mnt/data/16062025/17/19/image_16062025_17_19_24_9976.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376410173","1376410151","1376410168","1376410147","1376410162","1376410156"],"photo_ids_order":["1376410147","1376410151","1376410156","1376410162","1376410168","1376410173"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cbc96105221beb76ecc59c53a5fb9b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8606019447177896579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900539771,"filename":"image_16062025_17_19_24_9976.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4fd9b0cac4c6274bf54932eed9ced249.jpg","text":"TemporaryFile(/tmp/multipartBody3077706806993248747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900539771,"filename":"image_16062025_17_20_04_10360.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a2a0783a2c1bc7a7ffffa07a61c8a97e.jpg","text":"TemporaryFile(/tmp/multipartBody5220056738016076648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900539771,"filename":"image_16062025_17_19_34_9995.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a2d42981dc7541b8af357ef00da483b1.jpg","text":"TemporaryFile(/tmp/multipartBody6807876019893798100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900539771,"filename":"image_16062025_17_20_14_9966.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/333071cb53bdca435337e8c923b4419c.jpg","text":"TemporaryFile(/tmp/multipartBody6510877344996709525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900539771,"filename":"image_16062025_17_19_44_9991.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b270efc031ee6ca609c26e92c28741e8.jpg","text":"TemporaryFile(/tmp/multipartBody267796853613381659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900539771,"filename":"image_16062025_17_19_54_9966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376410156","file1":"1376410151","file0":"1376410147","file4":"1376410168","file5":"1376410173","file3":"1376410162"},"map_files_photo_id_array":[{"photo_id":"1376410173","filename":"file5"},{"photo_id":"1376410156","filename":"file2"},{"photo_id":"1376410168","filename":"file4"},{"photo_id":"1376410151","filename":"file1"},{"photo_id":"1376410147","filename":"file0"},{"photo_id":"1376410162","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376410173":["hashtag1","hashtag2"]},{"1376410151":["hashtag1","hashtag2"]},{"1376410168":["hashtag1","hashtag2"]},{"1376410147":["hashtag1","hashtag2"]},{"1376410162":["hashtag1","hashtag2"]},{"1376410156":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376410173, 1376410151, 1376410168, 1376410147, 1376410162, 1376410156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.1732223033905 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:22:02.549285
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/19/image_16062025_17_19_14_9935.jpg', 2), ('/mnt/data/16062025/17/18/image_16062025_17_19_04_10035.jpg', 2), ('/mnt/data/16062025/17/18/image_16062025_17_18_54_9920.jpg', 2), ('/mnt/data/16062025/17/18/image_16062025_17_18_44_9907.jpg', 2), ('/mnt/data/16062025/17/18/image_16062025_17_18_34_10031.jpg', 2), ('/mnt/data/16062025/17/18/image_16062025_17_18_24_9974.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/19/image_16062025_17_19_14_9935.jpg', '/mnt/data/16062025/17/18/image_16062025_17_19_04_10035.jpg', '/mnt/data/16062025/17/18/image_16062025_17_18_54_9920.jpg', '/mnt/data/16062025/17/18/image_16062025_17_18_44_9907.jpg', '/mnt/data/16062025/17/18/image_16062025_17_18_34_10031.jpg', '/mnt/data/16062025/17/18/image_16062025_17_18_24_9974.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/19/image_16062025_17_19_14_9935.jpg', '/mnt/data/16062025/17/18/image_16062025_17_19_04_10035.jpg', '/mnt/data/16062025/17/18/image_16062025_17_18_54_9920.jpg', '/mnt/data/16062025/17/18/image_16062025_17_18_44_9907.jpg', '/mnt/data/16062025/17/18/image_16062025_17_18_34_10031.jpg', '/mnt/data/16062025/17/18/image_16062025_17_18_24_9974.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/19/image_16062025_17_19_14_9935.jpg
/mnt/data/16062025/17/18/image_16062025_17_19_04_10035.jpg
/mnt/data/16062025/17/18/image_16062025_17_18_54_9920.jpg
/mnt/data/16062025/17/18/image_16062025_17_18_44_9907.jpg
/mnt/data/16062025/17/18/image_16062025_17_18_34_10031.jpg
/mnt/data/16062025/17/18/image_16062025_17_18_24_9974.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376410398","1376410365","1376410298","1376410331","1376410468","1376410435"],"photo_ids_order":["1376410298","1376410331","1376410365","1376410398","1376410435","1376410468"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/00da323d26e26d3db4ec158be05ce64e.jpg","text":"TemporaryFile(/tmp/multipartBody4330801333347144142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900595883,"filename":"image_16062025_17_18_44_9907.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2fb30a476bf9b1236dd2db6c1bb3e7c5.jpg","text":"TemporaryFile(/tmp/multipartBody3125389377180803415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900595883,"filename":"image_16062025_17_18_54_9920.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/53708e9af573d34c674dfb114e36eed2.jpg","text":"TemporaryFile(/tmp/multipartBody8408000518049581830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900595883,"filename":"image_16062025_17_19_14_9935.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9e9779d9d73160b320695220fc450169.jpg","text":"TemporaryFile(/tmp/multipartBody2008035915052970826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900595883,"filename":"image_16062025_17_19_04_10035.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b2b74cca1ae14b3388edfb5f65015178.jpg","text":"TemporaryFile(/tmp/multipartBody2087368976615398804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900595883,"filename":"image_16062025_17_18_24_9974.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/db4d5067a43b8730811718516bc5d988.jpg","text":"TemporaryFile(/tmp/multipartBody6588220078426550793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754900595883,"filename":"image_16062025_17_18_34_10031.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376410365","file1":"1376410331","file0":"1376410298","file4":"1376410435","file5":"1376410468","file3":"1376410398"},"map_files_photo_id_array":[{"photo_id":"1376410468","filename":"file5"},{"photo_id":"1376410365","filename":"file2"},{"photo_id":"1376410435","filename":"file4"},{"photo_id":"1376410331","filename":"file1"},{"photo_id":"1376410298","filename":"file0"},{"photo_id":"1376410398","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376410398":["hashtag1","hashtag2"]},{"1376410365":["hashtag1","hashtag2"]},{"1376410298":["hashtag1","hashtag2"]},{"1376410331":["hashtag1","hashtag2"]},{"1376410468":["hashtag1","hashtag2"]},{"1376410435":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376410398, 1376410365, 1376410298, 1376410331, 1376410468, 1376410435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.33852982521057 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:23:03.540053
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', '/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', '/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg
/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 147.01786351203918 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:26:03.121819
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', '/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', '/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg
/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg
uploaded 0 photos
time to upload: 30.29577398300171 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:27:03.288449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', '/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', '/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg
/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:28:02.780608
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', '/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', '/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg
/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg
uploaded 0 photos
time to upload: 30.303263187408447 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:29:02.951103
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', '/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', '/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg
/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376410827","1376410826","1376410811","1376410814","1376410822","1376410807"],"photo_ids_order":["1376410807","1376410811","1376410814","1376410822","1376410826","1376410827"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ce9646957e58ef0d1bf9fd7f6104935e.jpg","text":"TemporaryFile(/tmp/multipartBody4967599319791681465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901033932,"filename":"image_16062025_17_17_24_10197.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ec5780389c5287102e81378364755ab3.jpg","text":"TemporaryFile(/tmp/multipartBody5774363731032713824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901033932,"filename":"image_16062025_17_17_34_10197.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a6ea404e026e62bef7d579092d2a089f.jpg","text":"TemporaryFile(/tmp/multipartBody2110417802923795174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901033932,"filename":"image_16062025_17_18_04_9033.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8dcca341f0c2058a469f37477da839fc.jpg","text":"TemporaryFile(/tmp/multipartBody4866134218956810947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901033932,"filename":"image_16062025_17_17_55_10298.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/40d4e03ffba9f656cafdcd2904aa40d7.jpg","text":"TemporaryFile(/tmp/multipartBody3527148330030105761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901033932,"filename":"image_16062025_17_17_45_10259.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d176b00e1fce72f0ebff1e41e4c43f7a.jpg","text":"TemporaryFile(/tmp/multipartBody4089290328354480566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901033932,"filename":"image_16062025_17_18_14_10094.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376410814","file1":"1376410811","file0":"1376410807","file4":"1376410826","file5":"1376410827","file3":"1376410822"},"map_files_photo_id_array":[{"photo_id":"1376410827","filename":"file5"},{"photo_id":"1376410814","filename":"file2"},{"photo_id":"1376410826","filename":"file4"},{"photo_id":"1376410811","filename":"file1"},{"photo_id":"1376410807","filename":"file0"},{"photo_id":"1376410822","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376410827":["hashtag1","hashtag2"]},{"1376410826":["hashtag1","hashtag2"]},{"1376410811":["hashtag1","hashtag2"]},{"1376410814":["hashtag1","hashtag2"]},{"1376410822":["hashtag1","hashtag2"]},{"1376410807":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376410827, 1376410826, 1376410811, 1376410814, 1376410822, 1376410807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.14923810958862 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:31:02.788641
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg
/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg
uploaded 0 photos
time to upload: 30.415735721588135 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:32:02.631953
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg
/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg
uploaded 0 photos
time to upload: 30.30417823791504 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:33:02.704972
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg
/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg
uploaded 0 photos
time to upload: 30.306941986083984 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:34:03.288486
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg
/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg
uploaded 0 photos
time to upload: 30.311583757400513 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:35:03.448679
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg
/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg
uploaded 0 photos
time to upload: 30.344330072402954 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:36:03.155806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg
/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg
uploaded 0 photos
time to upload: 30.30845832824707 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:37:03.088231
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg
/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg
uploaded 0 photos
time to upload: 30.332051753997803 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:38:02.919059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg
/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg
uploaded 0 photos
time to upload: 30.3294620513916 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:39:02.944411
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg
/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg
uploaded 0 photos
time to upload: 30.3277006149292 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:40:02.753599
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg
/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376411238","1376411225","1376411269","1376411233","1376411221","1376411302"],"photo_ids_order":["1376411221","1376411225","1376411233","1376411238","1376411269","1376411302"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f6cae4cfa46d870c86699764ccb531c5.jpg","text":"TemporaryFile(/tmp/multipartBody8549124470573201333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901683349,"filename":"image_16062025_17_16_44_10178.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/45d3d4a2bc0d210e9587479feba3c312.jpg","text":"TemporaryFile(/tmp/multipartBody5034747579055736759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901683349,"filename":"image_16062025_17_17_05_10242.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7a505322bb7a81cc20b3d03a3db1baba.jpg","text":"TemporaryFile(/tmp/multipartBody3111039360556107514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901683349,"filename":"image_16062025_17_16_34_10047.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ee9b594dfa46460509cd4e60649d475f.jpg","text":"TemporaryFile(/tmp/multipartBody366498156432507273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901683349,"filename":"image_16062025_17_16_55_10134.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a0ef9c28fdea7a4be4ce78d448c9b0a3.jpg","text":"TemporaryFile(/tmp/multipartBody734440588086098002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901683349,"filename":"image_16062025_17_17_14_8974.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e3394a4884c386474f310c2a557d9be0.jpg","text":"TemporaryFile(/tmp/multipartBody5066315655989179408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901683349,"filename":"image_16062025_17_16_14_10246.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376411233","file1":"1376411225","file0":"1376411221","file4":"1376411269","file5":"1376411302","file3":"1376411238"},"map_files_photo_id_array":[{"photo_id":"1376411302","filename":"file5"},{"photo_id":"1376411233","filename":"file2"},{"photo_id":"1376411269","filename":"file4"},{"photo_id":"1376411225","filename":"file1"},{"photo_id":"1376411221","filename":"file0"},{"photo_id":"1376411238","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376411238":["hashtag1","hashtag2"]},{"1376411225":["hashtag1","hashtag2"]},{"1376411269":["hashtag1","hashtag2"]},{"1376411233":["hashtag1","hashtag2"]},{"1376411221":["hashtag1","hashtag2"]},{"1376411302":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376411238, 1376411225, 1376411269, 1376411233, 1376411221, 1376411302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.9619836807251 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:42:03.167600
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg
uploaded 0 photos
time to upload: 30.357113361358643 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:43:03.122923
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg
uploaded 0 photos
time to upload: 30.3651762008667 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:44:02.828504
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376411721","1376411723","1376411717","1376411705","1376411708","1376411713"],"photo_ids_order":["1376411705","1376411708","1376411713","1376411717","1376411721","1376411723"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d20042af7ab5f5af776e09ff6ec2f630.jpg","text":"TemporaryFile(/tmp/multipartBody5439181540598133655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901929491,"filename":"image_16062025_17_15_24_9940.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/28f3c8c7e82b89b1417ab8a1e8287f52.jpg","text":"TemporaryFile(/tmp/multipartBody3650824653847051213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901929491,"filename":"image_16062025_17_15_14_10029.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ac7ef177312dda8711ed819bf003dfee.jpg","text":"TemporaryFile(/tmp/multipartBody3843273411962828661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901929491,"filename":"image_16062025_17_15_34_10080.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7f1f3b6a19d9a72f9385a0a31243711b.jpg","text":"TemporaryFile(/tmp/multipartBody9214741619919837150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901929491,"filename":"image_16062025_17_16_04_9098.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b0206889ffbc404e08e67831633d3ded.jpg","text":"TemporaryFile(/tmp/multipartBody4954784330413233795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901929491,"filename":"image_16062025_17_15_55_10153.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f076ad6af04de5ac1a0575835f8c3868.jpg","text":"TemporaryFile(/tmp/multipartBody5093935074886741477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754901929491,"filename":"image_16062025_17_15_45_10189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376411713","file1":"1376411708","file0":"1376411705","file4":"1376411721","file5":"1376411723","file3":"1376411717"},"map_files_photo_id_array":[{"photo_id":"1376411723","filename":"file5"},{"photo_id":"1376411713","filename":"file2"},{"photo_id":"1376411721","filename":"file4"},{"photo_id":"1376411708","filename":"file1"},{"photo_id":"1376411705","filename":"file0"},{"photo_id":"1376411717","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376411721":["hashtag1","hashtag2"]},{"1376411723":["hashtag1","hashtag2"]},{"1376411717":["hashtag1","hashtag2"]},{"1376411705":["hashtag1","hashtag2"]},{"1376411708":["hashtag1","hashtag2"]},{"1376411713":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376411721, 1376411723, 1376411717, 1376411705, 1376411708, 1376411713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.55877327919006 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:46:03.208773
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/14/image_16062025_17_15_04_10125.jpg', 2), ('/mnt/data/16062025/17/14/image_16062025_17_14_54_9934.jpg', 2), ('/mnt/data/16062025/17/14/image_16062025_17_14_44_9970.jpg', 2), ('/mnt/data/16062025/17/14/image_16062025_17_14_34_9963.jpg', 2), ('/mnt/data/16062025/17/14/image_16062025_17_14_24_9890.jpg', 2), ('/mnt/data/16062025/17/14/image_16062025_17_14_14_9912.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/14/image_16062025_17_15_04_10125.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_54_9934.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_44_9970.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_34_9963.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_24_9890.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_14_9912.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/14/image_16062025_17_15_04_10125.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_54_9934.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_44_9970.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_34_9963.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_24_9890.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_14_9912.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/14/image_16062025_17_15_04_10125.jpg
/mnt/data/16062025/17/14/image_16062025_17_14_54_9934.jpg
/mnt/data/16062025/17/14/image_16062025_17_14_44_9970.jpg
/mnt/data/16062025/17/14/image_16062025_17_14_34_9963.jpg
/mnt/data/16062025/17/14/image_16062025_17_14_24_9890.jpg
/mnt/data/16062025/17/14/image_16062025_17_14_14_9912.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376411779","1376411767","1376411776","1376411787","1376411784","1376411772"],"photo_ids_order":["1376411767","1376411772","1376411776","1376411779","1376411784","1376411787"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/54db5f1149afdec7f4b1239bf4af02fe.jpg","text":"TemporaryFile(/tmp/multipartBody712653662700273744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902038462,"filename":"image_16062025_17_14_34_9963.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4637dd0ded43329dba4a6fd094511b8a.jpg","text":"TemporaryFile(/tmp/multipartBody6132633355117386213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902038462,"filename":"image_16062025_17_15_04_10125.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6f4add2c664691a80ce24b7b5fd954f2.jpg","text":"TemporaryFile(/tmp/multipartBody6662380374940111633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902038462,"filename":"image_16062025_17_14_44_9970.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8612f0d0799328eea68f867264a68aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2642297804403133210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902038462,"filename":"image_16062025_17_14_14_9912.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/92c1ad361c1048fdcf5ca3d4bf460d0e.jpg","text":"TemporaryFile(/tmp/multipartBody2222827327569268326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902038462,"filename":"image_16062025_17_14_24_9890.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/01885f25f1cc08ccf47a6305e71815a8.jpg","text":"TemporaryFile(/tmp/multipartBody4016231347386216097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902038462,"filename":"image_16062025_17_14_54_9934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376411776","file1":"1376411772","file0":"1376411767","file4":"1376411784","file5":"1376411787","file3":"1376411779"},"map_files_photo_id_array":[{"photo_id":"1376411787","filename":"file5"},{"photo_id":"1376411776","filename":"file2"},{"photo_id":"1376411784","filename":"file4"},{"photo_id":"1376411772","filename":"file1"},{"photo_id":"1376411767","filename":"file0"},{"photo_id":"1376411779","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376411779":["hashtag1","hashtag2"]},{"1376411767":["hashtag1","hashtag2"]},{"1376411776":["hashtag1","hashtag2"]},{"1376411787":["hashtag1","hashtag2"]},{"1376411784":["hashtag1","hashtag2"]},{"1376411772":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376411779, 1376411767, 1376411776, 1376411787, 1376411784, 1376411772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.50118446350098 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:47:03.012182
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/13/image_16062025_17_14_04_10019.jpg', 2), ('/mnt/data/16062025/17/13/image_16062025_17_13_54_9927.jpg', 2), ('/mnt/data/16062025/17/13/image_16062025_17_13_44_9926.jpg', 2), ('/mnt/data/16062025/17/13/image_16062025_17_13_35_9917.jpg', 2), ('/mnt/data/16062025/17/13/image_16062025_17_13_25_9897.jpg', 2), ('/mnt/data/16062025/17/13/image_16062025_17_13_15_9968.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/13/image_16062025_17_14_04_10019.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_54_9927.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_44_9926.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_35_9917.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_25_9897.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_15_9968.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/13/image_16062025_17_14_04_10019.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_54_9927.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_44_9926.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_35_9917.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_25_9897.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_15_9968.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/13/image_16062025_17_14_04_10019.jpg
/mnt/data/16062025/17/13/image_16062025_17_13_54_9927.jpg
/mnt/data/16062025/17/13/image_16062025_17_13_44_9926.jpg
/mnt/data/16062025/17/13/image_16062025_17_13_35_9917.jpg
/mnt/data/16062025/17/13/image_16062025_17_13_25_9897.jpg
/mnt/data/16062025/17/13/image_16062025_17_13_15_9968.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376411822","1376411816","1376411825","1376411819","1376411809","1376411812"],"photo_ids_order":["1376411809","1376411812","1376411816","1376411819","1376411822","1376411825"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9c7d6121d219e75b8ddce6ed5636bbcd.jpg","text":"TemporaryFile(/tmp/multipartBody5499271027806372323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902093432,"filename":"image_16062025_17_13_25_9897.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/85eab53f2a7bd3195c1e0e93669a45be.jpg","text":"TemporaryFile(/tmp/multipartBody3429412029643650357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902093432,"filename":"image_16062025_17_13_44_9926.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/21af714952851c9b81f74c8ebd73ab79.jpg","text":"TemporaryFile(/tmp/multipartBody775241119623878989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902093432,"filename":"image_16062025_17_13_15_9968.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/64f1ac15d4b3443ac7659425078a8df6.jpg","text":"TemporaryFile(/tmp/multipartBody4367390703113317212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902093432,"filename":"image_16062025_17_13_35_9917.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e3635f2ada6f9417edadccff9a5f49f4.jpg","text":"TemporaryFile(/tmp/multipartBody9196878650394801594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902093432,"filename":"image_16062025_17_14_04_10019.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1e2e19755caa950ed132e4fceba9a648.jpg","text":"TemporaryFile(/tmp/multipartBody1459683018109993012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902093432,"filename":"image_16062025_17_13_54_9927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376411816","file1":"1376411812","file0":"1376411809","file4":"1376411822","file5":"1376411825","file3":"1376411819"},"map_files_photo_id_array":[{"photo_id":"1376411825","filename":"file5"},{"photo_id":"1376411816","filename":"file2"},{"photo_id":"1376411822","filename":"file4"},{"photo_id":"1376411812","filename":"file1"},{"photo_id":"1376411809","filename":"file0"},{"photo_id":"1376411819","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376411822":["hashtag1","hashtag2"]},{"1376411816":["hashtag1","hashtag2"]},{"1376411825":["hashtag1","hashtag2"]},{"1376411819":["hashtag1","hashtag2"]},{"1376411809":["hashtag1","hashtag2"]},{"1376411812":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376411822, 1376411816, 1376411825, 1376411819, 1376411809, 1376411812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.6717529296875 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:48:02.563951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/12/image_16062025_17_12_55_9993.jpg', 2), ('/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg', 2), ('/mnt/data/16062025/17/03/image_16062025_17_03_14_10065.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/12/image_16062025_17_12_55_9993.jpg', '/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg', '/mnt/data/16062025/17/03/image_16062025_17_03_14_10065.jpg', '/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/12/image_16062025_17_12_55_9993.jpg', '/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg', '/mnt/data/16062025/17/03/image_16062025_17_03_14_10065.jpg', '/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/12/image_16062025_17_12_55_9993.jpg
/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg
/mnt/data/16062025/17/03/image_16062025_17_03_14_10065.jpg
/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376411870","1376411849","1376411903","1376411846","1376411841","1376411838"],"photo_ids_order":["1376411838","1376411841","1376411846","1376411849","1376411870","1376411903"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3540ff61e2574e397d7ac2c012a88e31.jpg","text":"TemporaryFile(/tmp/multipartBody3264584198507412143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902154517,"filename":"image_16062025_17_02_54_9964.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e308b90bf3b56adbe4d1a7249e22aa25.jpg","text":"TemporaryFile(/tmp/multipartBody8442676798805872450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902154517,"filename":"image_16062025_17_03_04_10025.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/005ddbb4dd567aa8facd2e59fced7fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4332117530395354036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902154517,"filename":"image_16062025_17_02_44_9953.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e3046d52dc5617c5adbcc2e8100f3e77.jpg","text":"TemporaryFile(/tmp/multipartBody2650351399475076876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902154517,"filename":"image_16062025_17_03_14_10065.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9979276e048fa9446bc7f5bc07fe9b4e.jpg","text":"TemporaryFile(/tmp/multipartBody1200429878107876192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902154517,"filename":"image_16062025_17_08_54_10002.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/907c5c9de00c052a2d9b0222e7951f5b.jpg","text":"TemporaryFile(/tmp/multipartBody7057990640708167472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902154517,"filename":"image_16062025_17_12_55_9993.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376411846","file1":"1376411841","file0":"1376411838","file4":"1376411870","file5":"1376411903","file3":"1376411849"},"map_files_photo_id_array":[{"photo_id":"1376411903","filename":"file5"},{"photo_id":"1376411846","filename":"file2"},{"photo_id":"1376411870","filename":"file4"},{"photo_id":"1376411841","filename":"file1"},{"photo_id":"1376411838","filename":"file0"},{"photo_id":"1376411849","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376411870":["hashtag1","hashtag2"]},{"1376411849":["hashtag1","hashtag2"]},{"1376411903":["hashtag1","hashtag2"]},{"1376411846":["hashtag1","hashtag2"]},{"1376411841":["hashtag1","hashtag2"]},{"1376411838":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376411870, 1376411849, 1376411903, 1376411846, 1376411841, 1376411838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.21605587005615 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:49:02.832980
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg', 2), ('/mnt/data/16062025/17/01/image_16062025_17_02_04_8980.jpg', 2), ('/mnt/data/16062025/17/01/image_16062025_17_01_55_10140.jpg', 2), ('/mnt/data/16062025/17/01/image_16062025_17_01_45_10113.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg', '/mnt/data/16062025/17/01/image_16062025_17_02_04_8980.jpg', '/mnt/data/16062025/17/01/image_16062025_17_01_55_10140.jpg', '/mnt/data/16062025/17/01/image_16062025_17_01_45_10113.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg', '/mnt/data/16062025/17/01/image_16062025_17_02_04_8980.jpg', '/mnt/data/16062025/17/01/image_16062025_17_01_55_10140.jpg', '/mnt/data/16062025/17/01/image_16062025_17_01_45_10113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg
/mnt/data/16062025/17/01/image_16062025_17_02_04_8980.jpg
/mnt/data/16062025/17/01/image_16062025_17_01_55_10140.jpg
/mnt/data/16062025/17/01/image_16062025_17_01_45_10113.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376411952","1376411960","1376411948","1376411963","1376411945","1376411940"],"photo_ids_order":["1376411940","1376411945","1376411948","1376411952","1376411960","1376411963"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/882db9d933355339c0fa0e1d1e860c08.jpg","text":"TemporaryFile(/tmp/multipartBody2131541380740880117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902223548,"filename":"image_16062025_17_02_04_8980.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f1840ed0aaa3e57432d26431138bf295.jpg","text":"TemporaryFile(/tmp/multipartBody9178802543464523810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902223548,"filename":"image_16062025_17_01_55_10140.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1ad5a75ba84dd146f6d65d06d6714692.jpg","text":"TemporaryFile(/tmp/multipartBody1843820994440605129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902223548,"filename":"image_16062025_17_02_14_10153.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f42b160c043a444ba0e2b55180d4d546.jpg","text":"TemporaryFile(/tmp/multipartBody3295092864561426497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902223548,"filename":"image_16062025_17_01_45_10113.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/77bc02f1d4dd9869cb46601aed93e098.jpg","text":"TemporaryFile(/tmp/multipartBody3808418979206465882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902223548,"filename":"image_16062025_17_02_24_10157.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/711415e553f7b2b00220863dcf15e173.jpg","text":"TemporaryFile(/tmp/multipartBody642614202767893579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902223548,"filename":"image_16062025_17_02_34_10050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376411948","file1":"1376411945","file0":"1376411940","file4":"1376411960","file5":"1376411963","file3":"1376411952"},"map_files_photo_id_array":[{"photo_id":"1376411963","filename":"file5"},{"photo_id":"1376411948","filename":"file2"},{"photo_id":"1376411960","filename":"file4"},{"photo_id":"1376411945","filename":"file1"},{"photo_id":"1376411940","filename":"file0"},{"photo_id":"1376411952","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376411952":["hashtag1","hashtag2"]},{"1376411960":["hashtag1","hashtag2"]},{"1376411948":["hashtag1","hashtag2"]},{"1376411963":["hashtag1","hashtag2"]},{"1376411945":["hashtag1","hashtag2"]},{"1376411940":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376411952, 1376411960, 1376411948, 1376411963, 1376411945, 1376411940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.052733421325684 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:51:03.355259
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/01/image_16062025_17_01_35_10189.jpg', 2), ('/mnt/data/16062025/17/01/image_16062025_17_01_14_10198.jpg', 2), ('/mnt/data/16062025/17/00/image_16062025_17_01_04_9121.jpg', 2), ('/mnt/data/16062025/17/00/image_16062025_17_00_55_10152.jpg', 2), ('/mnt/data/16062025/17/00/image_16062025_17_00_45_10168.jpg', 2), ('/mnt/data/16062025/17/00/image_16062025_17_00_34_10083.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/01/image_16062025_17_01_35_10189.jpg', '/mnt/data/16062025/17/01/image_16062025_17_01_14_10198.jpg', '/mnt/data/16062025/17/00/image_16062025_17_01_04_9121.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_55_10152.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_45_10168.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_34_10083.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/01/image_16062025_17_01_35_10189.jpg', '/mnt/data/16062025/17/01/image_16062025_17_01_14_10198.jpg', '/mnt/data/16062025/17/00/image_16062025_17_01_04_9121.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_55_10152.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_45_10168.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_34_10083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/01/image_16062025_17_01_35_10189.jpg
/mnt/data/16062025/17/01/image_16062025_17_01_14_10198.jpg
/mnt/data/16062025/17/00/image_16062025_17_01_04_9121.jpg
/mnt/data/16062025/17/00/image_16062025_17_00_55_10152.jpg
/mnt/data/16062025/17/00/image_16062025_17_00_45_10168.jpg
/mnt/data/16062025/17/00/image_16062025_17_00_34_10083.jpg
uploaded 0 photos
time to upload: 1.5869812965393066 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:52:02.908807
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/01/image_16062025_17_01_35_10189.jpg', 2), ('/mnt/data/16062025/17/01/image_16062025_17_01_14_10198.jpg', 2), ('/mnt/data/16062025/17/00/image_16062025_17_01_04_9121.jpg', 2), ('/mnt/data/16062025/17/00/image_16062025_17_00_55_10152.jpg', 2), ('/mnt/data/16062025/17/00/image_16062025_17_00_45_10168.jpg', 2), ('/mnt/data/16062025/17/00/image_16062025_17_00_34_10083.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/01/image_16062025_17_01_35_10189.jpg', '/mnt/data/16062025/17/01/image_16062025_17_01_14_10198.jpg', '/mnt/data/16062025/17/00/image_16062025_17_01_04_9121.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_55_10152.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_45_10168.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_34_10083.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/01/image_16062025_17_01_35_10189.jpg', '/mnt/data/16062025/17/01/image_16062025_17_01_14_10198.jpg', '/mnt/data/16062025/17/00/image_16062025_17_01_04_9121.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_55_10152.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_45_10168.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_34_10083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/01/image_16062025_17_01_35_10189.jpg
/mnt/data/16062025/17/01/image_16062025_17_01_14_10198.jpg
/mnt/data/16062025/17/00/image_16062025_17_01_04_9121.jpg
/mnt/data/16062025/17/00/image_16062025_17_00_55_10152.jpg
/mnt/data/16062025/17/00/image_16062025_17_00_45_10168.jpg
/mnt/data/16062025/17/00/image_16062025_17_00_34_10083.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376412114","1376412128","1376412119","1376412123","1376412126","1376412111"],"photo_ids_order":["1376412111","1376412114","1376412119","1376412123","1376412126","1376412128"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b19140b56fc0542ea24bcafce9f86b90.jpg","text":"TemporaryFile(/tmp/multipartBody2899033116796162749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902412728,"filename":"image_16062025_17_01_14_10198.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0faa74a1c7a8cbbe573401a3b3d70754.jpg","text":"TemporaryFile(/tmp/multipartBody4335142918218792110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902412728,"filename":"image_16062025_17_00_34_10083.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/011d09c5432493a55bca037eafba1c09.jpg","text":"TemporaryFile(/tmp/multipartBody4683396472895056557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902412728,"filename":"image_16062025_17_01_04_9121.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cd94aa95e3aba47e3587c41ae4fcf5e3.jpg","text":"TemporaryFile(/tmp/multipartBody8799294199475991311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902412728,"filename":"image_16062025_17_00_55_10152.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/37e405e39daa137bf1bd20f20ede140f.jpg","text":"TemporaryFile(/tmp/multipartBody8508416179112053613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902412728,"filename":"image_16062025_17_00_45_10168.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5f62c4c9d3001948396c537ec4c7486a.jpg","text":"TemporaryFile(/tmp/multipartBody7557479919134009525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902412728,"filename":"image_16062025_17_01_35_10189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376412119","file1":"1376412114","file0":"1376412111","file4":"1376412126","file5":"1376412128","file3":"1376412123"},"map_files_photo_id_array":[{"photo_id":"1376412128","filename":"file5"},{"photo_id":"1376412119","filename":"file2"},{"photo_id":"1376412126","filename":"file4"},{"photo_id":"1376412114","filename":"file1"},{"photo_id":"1376412111","filename":"file0"},{"photo_id":"1376412123","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376412114":["hashtag1","hashtag2"]},{"1376412128":["hashtag1","hashtag2"]},{"1376412119":["hashtag1","hashtag2"]},{"1376412123":["hashtag1","hashtag2"]},{"1376412126":["hashtag1","hashtag2"]},{"1376412111":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376412114, 1376412128, 1376412119, 1376412123, 1376412126, 1376412111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.34865140914917 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:54:03.062784
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/00/image_16062025_17_00_24_10086.jpg', 2), ('/mnt/data/16062025/17/00/image_16062025_17_00_14_10018.jpg', 2), ('/mnt/data/16062025/16/59/image_16062025_17_00_04_10304.jpg', 2), ('/mnt/data/16062025/16/59/image_16062025_16_59_54_9956.jpg', 2), ('/mnt/data/16062025/16/58/image_16062025_16_58_44_9952.jpg', 2), ('/mnt/data/16062025/16/58/image_16062025_16_58_34_9958.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/17/00/image_16062025_17_00_24_10086.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_14_10018.jpg', '/mnt/data/16062025/16/59/image_16062025_17_00_04_10304.jpg', '/mnt/data/16062025/16/59/image_16062025_16_59_54_9956.jpg', '/mnt/data/16062025/16/58/image_16062025_16_58_44_9952.jpg', '/mnt/data/16062025/16/58/image_16062025_16_58_34_9958.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/17/00/image_16062025_17_00_24_10086.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_14_10018.jpg', '/mnt/data/16062025/16/59/image_16062025_17_00_04_10304.jpg', '/mnt/data/16062025/16/59/image_16062025_16_59_54_9956.jpg', '/mnt/data/16062025/16/58/image_16062025_16_58_44_9952.jpg', '/mnt/data/16062025/16/58/image_16062025_16_58_34_9958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/00/image_16062025_17_00_24_10086.jpg
/mnt/data/16062025/17/00/image_16062025_17_00_14_10018.jpg
/mnt/data/16062025/16/59/image_16062025_17_00_04_10304.jpg
/mnt/data/16062025/16/59/image_16062025_16_59_54_9956.jpg
/mnt/data/16062025/16/58/image_16062025_16_58_44_9952.jpg
/mnt/data/16062025/16/58/image_16062025_16_58_34_9958.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376412158","1376412155","1376412169","1376412163","1376412166","1376412153"],"photo_ids_order":["1376412153","1376412155","1376412158","1376412163","1376412166","1376412169"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/34ad1c755660d8f9cf47236e6af15204.jpg","text":"TemporaryFile(/tmp/multipartBody6279316045082360518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902509445,"filename":"image_16062025_17_00_04_10304.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/90c8504cba3fb01f8016bcee7bedbcf1.jpg","text":"TemporaryFile(/tmp/multipartBody8479357987448831636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902509445,"filename":"image_16062025_17_00_14_10018.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e58519439482ec8c8ff4b6f3535bd858.jpg","text":"TemporaryFile(/tmp/multipartBody6883886369152713190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902509445,"filename":"image_16062025_16_58_34_9958.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2eb77a30dc785ba655fed84bb388cbcf.jpg","text":"TemporaryFile(/tmp/multipartBody3700602467837545930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902509445,"filename":"image_16062025_16_59_54_9956.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fdc83e77ad33bd801a913d64411a1d25.jpg","text":"TemporaryFile(/tmp/multipartBody8443950675079814082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902509445,"filename":"image_16062025_16_58_44_9952.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4bedce6d088e9f79a07c4d9ffa229458.jpg","text":"TemporaryFile(/tmp/multipartBody5303274368343972201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902509445,"filename":"image_16062025_17_00_24_10086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376412158","file1":"1376412155","file0":"1376412153","file4":"1376412166","file5":"1376412169","file3":"1376412163"},"map_files_photo_id_array":[{"photo_id":"1376412169","filename":"file5"},{"photo_id":"1376412158","filename":"file2"},{"photo_id":"1376412166","filename":"file4"},{"photo_id":"1376412155","filename":"file1"},{"photo_id":"1376412153","filename":"file0"},{"photo_id":"1376412163","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376412158":["hashtag1","hashtag2"]},{"1376412155":["hashtag1","hashtag2"]},{"1376412169":["hashtag1","hashtag2"]},{"1376412163":["hashtag1","hashtag2"]},{"1376412166":["hashtag1","hashtag2"]},{"1376412153":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376412158, 1376412155, 1376412169, 1376412163, 1376412166, 1376412153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.625893354415894 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:55:03.532233
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/58/image_16062025_16_58_24_9936.jpg', 2), ('/mnt/data/16062025/16/58/image_16062025_16_58_14_9948.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_58_04_10193.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_57_54_9939.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_57_44_9949.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_57_34_10078.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/58/image_16062025_16_58_24_9936.jpg', '/mnt/data/16062025/16/58/image_16062025_16_58_14_9948.jpg', '/mnt/data/16062025/16/57/image_16062025_16_58_04_10193.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_54_9939.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_44_9949.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_34_10078.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/58/image_16062025_16_58_24_9936.jpg', '/mnt/data/16062025/16/58/image_16062025_16_58_14_9948.jpg', '/mnt/data/16062025/16/57/image_16062025_16_58_04_10193.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_54_9939.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_44_9949.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_34_10078.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/58/image_16062025_16_58_24_9936.jpg
/mnt/data/16062025/16/58/image_16062025_16_58_14_9948.jpg
/mnt/data/16062025/16/57/image_16062025_16_58_04_10193.jpg
/mnt/data/16062025/16/57/image_16062025_16_57_54_9939.jpg
/mnt/data/16062025/16/57/image_16062025_16_57_44_9949.jpg
/mnt/data/16062025/16/57/image_16062025_16_57_34_10078.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 133.20978713035583 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 10:59:02.801878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/58/image_16062025_16_58_24_9936.jpg', 2), ('/mnt/data/16062025/16/58/image_16062025_16_58_14_9948.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_58_04_10193.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_57_54_9939.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_57_44_9949.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_57_34_10078.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/58/image_16062025_16_58_24_9936.jpg', '/mnt/data/16062025/16/58/image_16062025_16_58_14_9948.jpg', '/mnt/data/16062025/16/57/image_16062025_16_58_04_10193.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_54_9939.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_44_9949.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_34_10078.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/58/image_16062025_16_58_24_9936.jpg', '/mnt/data/16062025/16/58/image_16062025_16_58_14_9948.jpg', '/mnt/data/16062025/16/57/image_16062025_16_58_04_10193.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_54_9939.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_44_9949.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_34_10078.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/58/image_16062025_16_58_24_9936.jpg
/mnt/data/16062025/16/58/image_16062025_16_58_14_9948.jpg
/mnt/data/16062025/16/57/image_16062025_16_58_04_10193.jpg
/mnt/data/16062025/16/57/image_16062025_16_57_54_9939.jpg
/mnt/data/16062025/16/57/image_16062025_16_57_44_9949.jpg
/mnt/data/16062025/16/57/image_16062025_16_57_34_10078.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376412889","1376412766","1376412904","1376412798","1376412802","1376412837"],"photo_ids_order":["1376412766","1376412798","1376412802","1376412837","1376412889","1376412904"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/879a76743faf5b62b9a33dcba224ccec.jpg","text":"TemporaryFile(/tmp/multipartBody1086265343720015984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902813280,"filename":"image_16062025_16_57_44_9949.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/83c7a57dc0eaa6a4badb640e997d4a11.jpg","text":"TemporaryFile(/tmp/multipartBody7214448810076647985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902813280,"filename":"image_16062025_16_58_24_9936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/243c6946374274dfde602f7fcb2e148e.jpg","text":"TemporaryFile(/tmp/multipartBody9029246208240691878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902813280,"filename":"image_16062025_16_57_34_10078.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/028f060374fc775655f7de2152563dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8117283059565900014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902813280,"filename":"image_16062025_16_58_14_9948.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/161f27fe00c390628c82fbb4c518f834.jpg","text":"TemporaryFile(/tmp/multipartBody2799948140206280137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902813280,"filename":"image_16062025_16_58_04_10193.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/79a7a54555679a0562983f6e0297e7b1.jpg","text":"TemporaryFile(/tmp/multipartBody3222884388267387255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754902813280,"filename":"image_16062025_16_57_54_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376412802","file1":"1376412798","file0":"1376412766","file4":"1376412889","file5":"1376412904","file3":"1376412837"},"map_files_photo_id_array":[{"photo_id":"1376412904","filename":"file5"},{"photo_id":"1376412802","filename":"file2"},{"photo_id":"1376412889","filename":"file4"},{"photo_id":"1376412798","filename":"file1"},{"photo_id":"1376412766","filename":"file0"},{"photo_id":"1376412837","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376412889":["hashtag1","hashtag2"]},{"1376412766":["hashtag1","hashtag2"]},{"1376412904":["hashtag1","hashtag2"]},{"1376412798":["hashtag1","hashtag2"]},{"1376412802":["hashtag1","hashtag2"]},{"1376412837":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376412889, 1376412766, 1376412904, 1376412798, 1376412802, 1376412837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.617690086364746 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:00:02.495727
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg
/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg
/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg
uploaded 0 photos
time to upload: 30.36500573158264 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:01:03.675665
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg
/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg
/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg
uploaded 0 photos
time to upload: 30.30107021331787 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:02:03.108516
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg
/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg
/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg
uploaded 0 photos
time to upload: 30.795469999313354 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:03:03.081657
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg
/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg
/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 21.36548376083374 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:04:03.136276
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg
/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg
/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 28.79861617088318 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:05:03.258273
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg
/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg
/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg
uploaded 0 photos
time to upload: 30.31503176689148 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:06:02.880758
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', 2), ('/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg', '/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg', '/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg', '/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/57/image_16062025_16_57_24_9983.jpg
/mnt/data/16062025/16/57/image_16062025_16_57_14_10338.jpg
/mnt/data/16062025/16/56/image_16062025_16_57_04_9072.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_55_11188.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_44_8832.jpg
/mnt/data/16062025/16/56/image_16062025_16_56_25_9969.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376415654","1376415657","1376415645","1376415650","1376415658","1376415652"],"photo_ids_order":["1376415645","1376415650","1376415652","1376415654","1376415657","1376415658"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/35e92eec5dde9456df1fbd424ac03f56.jpg","text":"TemporaryFile(/tmp/multipartBody7256338197785886561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903251842,"filename":"image_16062025_16_56_55_11188.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fc6e5e8f8702c6e1893bf57fd9e94206.jpg","text":"TemporaryFile(/tmp/multipartBody816990978252212349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903251842,"filename":"image_16062025_16_56_44_8832.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a3f91ec416944abfac5ae391a8a7f609.jpg","text":"TemporaryFile(/tmp/multipartBody2731560252587832827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903251842,"filename":"image_16062025_16_57_24_9983.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/14fab893dea1d6bdb2cdc214a3363d08.jpg","text":"TemporaryFile(/tmp/multipartBody5378870717244422189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903251842,"filename":"image_16062025_16_57_14_10338.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/da43d453f56e3cd18029822e762967f0.jpg","text":"TemporaryFile(/tmp/multipartBody1761537702324461409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903251842,"filename":"image_16062025_16_56_25_9969.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3a882fedb8627007961faf08511de015.jpg","text":"TemporaryFile(/tmp/multipartBody7347994743158526791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903251842,"filename":"image_16062025_16_57_04_9072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376415652","file1":"1376415650","file0":"1376415645","file4":"1376415657","file5":"1376415658","file3":"1376415654"},"map_files_photo_id_array":[{"photo_id":"1376415658","filename":"file5"},{"photo_id":"1376415652","filename":"file2"},{"photo_id":"1376415657","filename":"file4"},{"photo_id":"1376415650","filename":"file1"},{"photo_id":"1376415645","filename":"file0"},{"photo_id":"1376415654","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376415654":["hashtag1","hashtag2"]},{"1376415657":["hashtag1","hashtag2"]},{"1376415645":["hashtag1","hashtag2"]},{"1376415650":["hashtag1","hashtag2"]},{"1376415658":["hashtag1","hashtag2"]},{"1376415652":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376415654, 1376415657, 1376415645, 1376415650, 1376415658, 1376415652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.52682089805603 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:08:03.152152
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/56/image_16062025_16_56_15_9969.jpg', 2), ('/mnt/data/16062025/16/55/image_16062025_16_56_05_10132.jpg', 2), ('/mnt/data/16062025/16/55/image_16062025_16_55_55_9942.jpg', 2), ('/mnt/data/16062025/16/55/image_16062025_16_55_45_9982.jpg', 2), ('/mnt/data/16062025/16/55/image_16062025_16_55_35_10003.jpg', 2), ('/mnt/data/16062025/16/55/image_16062025_16_55_25_9986.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/56/image_16062025_16_56_15_9969.jpg', '/mnt/data/16062025/16/55/image_16062025_16_56_05_10132.jpg', '/mnt/data/16062025/16/55/image_16062025_16_55_55_9942.jpg', '/mnt/data/16062025/16/55/image_16062025_16_55_45_9982.jpg', '/mnt/data/16062025/16/55/image_16062025_16_55_35_10003.jpg', '/mnt/data/16062025/16/55/image_16062025_16_55_25_9986.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/56/image_16062025_16_56_15_9969.jpg', '/mnt/data/16062025/16/55/image_16062025_16_56_05_10132.jpg', '/mnt/data/16062025/16/55/image_16062025_16_55_55_9942.jpg', '/mnt/data/16062025/16/55/image_16062025_16_55_45_9982.jpg', '/mnt/data/16062025/16/55/image_16062025_16_55_35_10003.jpg', '/mnt/data/16062025/16/55/image_16062025_16_55_25_9986.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/56/image_16062025_16_56_15_9969.jpg
/mnt/data/16062025/16/55/image_16062025_16_56_05_10132.jpg
/mnt/data/16062025/16/55/image_16062025_16_55_55_9942.jpg
/mnt/data/16062025/16/55/image_16062025_16_55_45_9982.jpg
/mnt/data/16062025/16/55/image_16062025_16_55_35_10003.jpg
/mnt/data/16062025/16/55/image_16062025_16_55_25_9986.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376416032","1376415978","1376415992","1376416034","1376415985","1376416003"],"photo_ids_order":["1376415978","1376415985","1376415992","1376416003","1376416032","1376416034"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cc57ecaff10dd898614462c9909eb902.jpg","text":"TemporaryFile(/tmp/multipartBody9163028091029922844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903357646,"filename":"image_16062025_16_55_35_10003.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f06fd5abc3cc3300b4dc77f0dd8273a9.jpg","text":"TemporaryFile(/tmp/multipartBody3173200971593539277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903357646,"filename":"image_16062025_16_56_15_9969.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/57c7dfe162e1e37b566b021b520c09c5.jpg","text":"TemporaryFile(/tmp/multipartBody6358888102699023483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903357646,"filename":"image_16062025_16_55_55_9942.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8803473f21c3ed4930ca0c225b892de2.jpg","text":"TemporaryFile(/tmp/multipartBody6832010021456994657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903357646,"filename":"image_16062025_16_55_25_9986.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4086462c14a4cff7518eb49954bffdb2.jpg","text":"TemporaryFile(/tmp/multipartBody2113515881936491506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903357646,"filename":"image_16062025_16_56_05_10132.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dcec3b88409182519e318948cd20e467.jpg","text":"TemporaryFile(/tmp/multipartBody3364800507685085898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903357646,"filename":"image_16062025_16_55_45_9982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376415992","file1":"1376415985","file0":"1376415978","file4":"1376416032","file5":"1376416034","file3":"1376416003"},"map_files_photo_id_array":[{"photo_id":"1376416034","filename":"file5"},{"photo_id":"1376415992","filename":"file2"},{"photo_id":"1376416032","filename":"file4"},{"photo_id":"1376415985","filename":"file1"},{"photo_id":"1376415978","filename":"file0"},{"photo_id":"1376416003","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376416032":["hashtag1","hashtag2"]},{"1376415978":["hashtag1","hashtag2"]},{"1376415992":["hashtag1","hashtag2"]},{"1376416034":["hashtag1","hashtag2"]},{"1376415985":["hashtag1","hashtag2"]},{"1376416003":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376416032, 1376415978, 1376415992, 1376416034, 1376415985, 1376416003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.00409412384033 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:09:03.210327
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/55/image_16062025_16_55_15_10045.jpg', 2), ('/mnt/data/16062025/16/54/image_16062025_16_55_05_10121.jpg', 2), ('/mnt/data/16062025/16/54/image_16062025_16_54_55_10059.jpg', 2), ('/mnt/data/16062025/16/54/image_16062025_16_54_44_10038.jpg', 2), ('/mnt/data/16062025/16/54/image_16062025_16_54_34_10008.jpg', 2), ('/mnt/data/16062025/16/54/image_16062025_16_54_24_10040.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/55/image_16062025_16_55_15_10045.jpg', '/mnt/data/16062025/16/54/image_16062025_16_55_05_10121.jpg', '/mnt/data/16062025/16/54/image_16062025_16_54_55_10059.jpg', '/mnt/data/16062025/16/54/image_16062025_16_54_44_10038.jpg', '/mnt/data/16062025/16/54/image_16062025_16_54_34_10008.jpg', '/mnt/data/16062025/16/54/image_16062025_16_54_24_10040.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/55/image_16062025_16_55_15_10045.jpg', '/mnt/data/16062025/16/54/image_16062025_16_55_05_10121.jpg', '/mnt/data/16062025/16/54/image_16062025_16_54_55_10059.jpg', '/mnt/data/16062025/16/54/image_16062025_16_54_44_10038.jpg', '/mnt/data/16062025/16/54/image_16062025_16_54_34_10008.jpg', '/mnt/data/16062025/16/54/image_16062025_16_54_24_10040.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/55/image_16062025_16_55_15_10045.jpg
/mnt/data/16062025/16/54/image_16062025_16_55_05_10121.jpg
/mnt/data/16062025/16/54/image_16062025_16_54_55_10059.jpg
/mnt/data/16062025/16/54/image_16062025_16_54_44_10038.jpg
/mnt/data/16062025/16/54/image_16062025_16_54_34_10008.jpg
/mnt/data/16062025/16/54/image_16062025_16_54_24_10040.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376416197","1376416182","1376416191","1376416187","1376416220","1376416222"],"photo_ids_order":["1376416182","1376416187","1376416191","1376416197","1376416220","1376416222"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5768f002d0a2fb54e456f20bb22166c4.jpg","text":"TemporaryFile(/tmp/multipartBody149074377088051871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903418119,"filename":"image_16062025_16_54_44_10038.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b92c46e274adb71e7fed3139774e5ef8.jpg","text":"TemporaryFile(/tmp/multipartBody2275552228315345391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903418119,"filename":"image_16062025_16_55_15_10045.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/15361f31859f9890959fd944791a67b4.jpg","text":"TemporaryFile(/tmp/multipartBody4492874521363902371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903418119,"filename":"image_16062025_16_54_55_10059.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/655b4520848b431e5860d6a48c6fbed6.jpg","text":"TemporaryFile(/tmp/multipartBody3427126798000005875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903418119,"filename":"image_16062025_16_55_05_10121.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/91163bb80ce4972c8b93d5fb113bc2d6.jpg","text":"TemporaryFile(/tmp/multipartBody8808449829260092283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903418119,"filename":"image_16062025_16_54_34_10008.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f6f21ef182c1eb32ec244fbea1c1047c.jpg","text":"TemporaryFile(/tmp/multipartBody2531150635094770837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903418119,"filename":"image_16062025_16_54_24_10040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376416191","file1":"1376416187","file0":"1376416182","file4":"1376416220","file5":"1376416222","file3":"1376416197"},"map_files_photo_id_array":[{"photo_id":"1376416222","filename":"file5"},{"photo_id":"1376416191","filename":"file2"},{"photo_id":"1376416220","filename":"file4"},{"photo_id":"1376416187","filename":"file1"},{"photo_id":"1376416182","filename":"file0"},{"photo_id":"1376416197","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376416197":["hashtag1","hashtag2"]},{"1376416182":["hashtag1","hashtag2"]},{"1376416191":["hashtag1","hashtag2"]},{"1376416187":["hashtag1","hashtag2"]},{"1376416220":["hashtag1","hashtag2"]},{"1376416222":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376416197, 1376416182, 1376416191, 1376416187, 1376416220, 1376416222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.53757405281067 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:10:02.559204
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/54/image_16062025_16_54_14_10054.jpg', 2), ('/mnt/data/16062025/16/53/image_16062025_16_54_04_10186.jpg', 2), ('/mnt/data/16062025/16/53/image_16062025_16_53_54_10044.jpg', 2), ('/mnt/data/16062025/16/53/image_16062025_16_53_44_10025.jpg', 2), ('/mnt/data/16062025/16/53/image_16062025_16_53_34_10123.jpg', 2), ('/mnt/data/16062025/16/53/image_16062025_16_53_24_10084.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/54/image_16062025_16_54_14_10054.jpg', '/mnt/data/16062025/16/53/image_16062025_16_54_04_10186.jpg', '/mnt/data/16062025/16/53/image_16062025_16_53_54_10044.jpg', '/mnt/data/16062025/16/53/image_16062025_16_53_44_10025.jpg', '/mnt/data/16062025/16/53/image_16062025_16_53_34_10123.jpg', '/mnt/data/16062025/16/53/image_16062025_16_53_24_10084.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/54/image_16062025_16_54_14_10054.jpg', '/mnt/data/16062025/16/53/image_16062025_16_54_04_10186.jpg', '/mnt/data/16062025/16/53/image_16062025_16_53_54_10044.jpg', '/mnt/data/16062025/16/53/image_16062025_16_53_44_10025.jpg', '/mnt/data/16062025/16/53/image_16062025_16_53_34_10123.jpg', '/mnt/data/16062025/16/53/image_16062025_16_53_24_10084.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/54/image_16062025_16_54_14_10054.jpg
/mnt/data/16062025/16/53/image_16062025_16_54_04_10186.jpg
/mnt/data/16062025/16/53/image_16062025_16_53_54_10044.jpg
/mnt/data/16062025/16/53/image_16062025_16_53_44_10025.jpg
/mnt/data/16062025/16/53/image_16062025_16_53_34_10123.jpg
/mnt/data/16062025/16/53/image_16062025_16_53_24_10084.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376416365","1376416394","1376416388","1376416427","1376416411","1376416441"],"photo_ids_order":["1376416365","1376416388","1376416394","1376416411","1376416427","1376416441"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a14ede29a76dc596a48ff9dece474f08.jpg","text":"TemporaryFile(/tmp/multipartBody5453461256944783214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903485864,"filename":"image_16062025_16_54_14_10054.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/88cbf9f94c6e23751c8f79f0337c12d2.jpg","text":"TemporaryFile(/tmp/multipartBody8442831441904267729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903485864,"filename":"image_16062025_16_53_54_10044.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3535c547862956af4bf0bf374f113864.jpg","text":"TemporaryFile(/tmp/multipartBody4174564588152834202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903485864,"filename":"image_16062025_16_54_04_10186.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f2322bfc478afd01101a29eb12554897.jpg","text":"TemporaryFile(/tmp/multipartBody7857868905817640379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903485864,"filename":"image_16062025_16_53_34_10123.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a92b216769d282da087d75bb7809e815.jpg","text":"TemporaryFile(/tmp/multipartBody5041044366660390125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903485864,"filename":"image_16062025_16_53_44_10025.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3d5af8f86e1074fecb4d50e79f4f1819.jpg","text":"TemporaryFile(/tmp/multipartBody6440009539124343434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754903485864,"filename":"image_16062025_16_53_24_10084.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376416394","file1":"1376416388","file0":"1376416365","file4":"1376416427","file5":"1376416441","file3":"1376416411"},"map_files_photo_id_array":[{"photo_id":"1376416441","filename":"file5"},{"photo_id":"1376416394","filename":"file2"},{"photo_id":"1376416427","filename":"file4"},{"photo_id":"1376416388","filename":"file1"},{"photo_id":"1376416365","filename":"file0"},{"photo_id":"1376416411","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376416365":["hashtag1","hashtag2"]},{"1376416394":["hashtag1","hashtag2"]},{"1376416388":["hashtag1","hashtag2"]},{"1376416427":["hashtag1","hashtag2"]},{"1376416411":["hashtag1","hashtag2"]},{"1376416441":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376416365, 1376416394, 1376416388, 1376416427, 1376416411, 1376416441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.73218894004822 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:12:03.000342
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg
/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 131.52554202079773 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:15:03.175113
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg
/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 131.16686749458313 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:18:02.907787
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg
/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg
uploaded 0 photos
time to upload: 30.87269687652588 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:19:03.334578
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg
/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 16.39858341217041 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:20:02.808217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg
/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg
uploaded 0 photos
time to upload: 30.304253339767456 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:21:03.014296
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg
/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg
uploaded 0 photos
time to upload: 2.175285816192627 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:22:02.922404
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg
/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg
uploaded 0 photos
time to upload: 30.28658676147461 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:23:02.923325
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg
/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_45_9996.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_35_9937.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_25_11109.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376418050","1376418104","1376418079","1376418099","1376418093","1376418087"],"photo_ids_order":["1376418050","1376418079","1376418087","1376418093","1376418099","1376418104"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6c0098a2b9d4eb832431ed7ecc8f99a6.jpg","text":"TemporaryFile(/tmp/multipartBody5095222965837919509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904263197,"filename":"image_16062025_16_53_14_10086.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b1ba30dae27c7196af8c6441d98a908c.jpg","text":"TemporaryFile(/tmp/multipartBody5404125896721182084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904263197,"filename":"image_16062025_16_52_25_11109.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/28cf19fe22b05fe2edd202b55eed9340.jpg","text":"TemporaryFile(/tmp/multipartBody4552030415531504046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904263197,"filename":"image_16062025_16_53_04_9053.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3f9e9747897363189c60555d017f0120.jpg","text":"TemporaryFile(/tmp/multipartBody3667359769577646292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904263197,"filename":"image_16062025_16_52_35_9937.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c3029fd76c901a449096fe0f519c4936.jpg","text":"TemporaryFile(/tmp/multipartBody621399909875048805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904263197,"filename":"image_16062025_16_52_45_9996.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e0711e300765c75601212f3635255ab5.jpg","text":"TemporaryFile(/tmp/multipartBody6200845813668754603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904263197,"filename":"image_16062025_16_52_55_10009.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376418087","file1":"1376418079","file0":"1376418050","file4":"1376418099","file5":"1376418104","file3":"1376418093"},"map_files_photo_id_array":[{"photo_id":"1376418104","filename":"file5"},{"photo_id":"1376418087","filename":"file2"},{"photo_id":"1376418099","filename":"file4"},{"photo_id":"1376418079","filename":"file1"},{"photo_id":"1376418050","filename":"file0"},{"photo_id":"1376418093","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376418050":["hashtag1","hashtag2"]},{"1376418104":["hashtag1","hashtag2"]},{"1376418079":["hashtag1","hashtag2"]},{"1376418099":["hashtag1","hashtag2"]},{"1376418093":["hashtag1","hashtag2"]},{"1376418087":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376418050, 1376418104, 1376418079, 1376418099, 1376418093, 1376418087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.488935232162476 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:25:03.594847
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/52/image_16062025_16_52_14_9948.jpg', 2), ('/mnt/data/16062025/16/51/image_16062025_16_52_04_8960.jpg', 2), ('/mnt/data/16062025/16/51/image_16062025_16_51_55_11118.jpg', 2), ('/mnt/data/16062025/16/50/image_16062025_16_50_45_11169.jpg', 2), ('/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg', 2), ('/mnt/data/16062025/16/50/image_16062025_16_50_24_9935.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/52/image_16062025_16_52_14_9948.jpg', '/mnt/data/16062025/16/51/image_16062025_16_52_04_8960.jpg', '/mnt/data/16062025/16/51/image_16062025_16_51_55_11118.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_45_11169.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_24_9935.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/52/image_16062025_16_52_14_9948.jpg', '/mnt/data/16062025/16/51/image_16062025_16_52_04_8960.jpg', '/mnt/data/16062025/16/51/image_16062025_16_51_55_11118.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_45_11169.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_24_9935.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/52/image_16062025_16_52_14_9948.jpg
/mnt/data/16062025/16/51/image_16062025_16_52_04_8960.jpg
/mnt/data/16062025/16/51/image_16062025_16_51_55_11118.jpg
/mnt/data/16062025/16/50/image_16062025_16_50_45_11169.jpg
/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg
/mnt/data/16062025/16/50/image_16062025_16_50_24_9935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 143.897602558136 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:28:02.468214
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/52/image_16062025_16_52_14_9948.jpg', 2), ('/mnt/data/16062025/16/51/image_16062025_16_52_04_8960.jpg', 2), ('/mnt/data/16062025/16/51/image_16062025_16_51_55_11118.jpg', 2), ('/mnt/data/16062025/16/50/image_16062025_16_50_45_11169.jpg', 2), ('/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg', 2), ('/mnt/data/16062025/16/50/image_16062025_16_50_24_9935.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/52/image_16062025_16_52_14_9948.jpg', '/mnt/data/16062025/16/51/image_16062025_16_52_04_8960.jpg', '/mnt/data/16062025/16/51/image_16062025_16_51_55_11118.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_45_11169.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_24_9935.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/52/image_16062025_16_52_14_9948.jpg', '/mnt/data/16062025/16/51/image_16062025_16_52_04_8960.jpg', '/mnt/data/16062025/16/51/image_16062025_16_51_55_11118.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_45_11169.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_24_9935.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/52/image_16062025_16_52_14_9948.jpg
/mnt/data/16062025/16/51/image_16062025_16_52_04_8960.jpg
/mnt/data/16062025/16/51/image_16062025_16_51_55_11118.jpg
/mnt/data/16062025/16/50/image_16062025_16_50_45_11169.jpg
/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg
/mnt/data/16062025/16/50/image_16062025_16_50_24_9935.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376419025","1376418926","1376418920","1376418961","1376418992","1376418924"],"photo_ids_order":["1376418920","1376418924","1376418926","1376418961","1376418992","1376419025"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e0f92be591c25056f75d7f2518fee955.jpg","text":"TemporaryFile(/tmp/multipartBody3151552348250892602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904551046,"filename":"image_16062025_16_50_24_9935.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3696f1631858487429e71c4331ab513a.jpg","text":"TemporaryFile(/tmp/multipartBody6877740990700681329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904551046,"filename":"image_16062025_16_51_55_11118.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a5212a5cb8a7138860e5d408e3f8358d.jpg","text":"TemporaryFile(/tmp/multipartBody401582424122858545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904551046,"filename":"image_16062025_16_52_14_9948.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/89d4932682d61fe2cbf85d8ef12e9e22.jpg","text":"TemporaryFile(/tmp/multipartBody3160216420043046522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904551046,"filename":"image_16062025_16_50_45_11169.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/52c5e48cc8927cf484b896927b79eadd.jpg","text":"TemporaryFile(/tmp/multipartBody8201200882301156683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904551046,"filename":"image_16062025_16_50_34_9978.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/13140a90cf5ab3351b4fbb6d9038fe9f.jpg","text":"TemporaryFile(/tmp/multipartBody1287389816244221657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904551046,"filename":"image_16062025_16_52_04_8960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376418926","file1":"1376418924","file0":"1376418920","file4":"1376418992","file5":"1376419025","file3":"1376418961"},"map_files_photo_id_array":[{"photo_id":"1376419025","filename":"file5"},{"photo_id":"1376418926","filename":"file2"},{"photo_id":"1376418992","filename":"file4"},{"photo_id":"1376418924","filename":"file1"},{"photo_id":"1376418920","filename":"file0"},{"photo_id":"1376418961","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376419025":["hashtag1","hashtag2"]},{"1376418926":["hashtag1","hashtag2"]},{"1376418920":["hashtag1","hashtag2"]},{"1376418961":["hashtag1","hashtag2"]},{"1376418992":["hashtag1","hashtag2"]},{"1376418924":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376419025, 1376418926, 1376418920, 1376418961, 1376418992, 1376418924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.597105741500854 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:29:02.710054
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/50/image_16062025_16_50_14_10014.jpg', 2), ('/mnt/data/16062025/16/49/image_16062025_16_50_04_9308.jpg', 2), ('/mnt/data/16062025/16/49/image_16062025_16_49_54_9933.jpg', 2), ('/mnt/data/16062025/16/49/image_16062025_16_49_44_9923.jpg', 2), ('/mnt/data/16062025/16/49/image_16062025_16_49_35_9931.jpg', 2), ('/mnt/data/16062025/16/49/image_16062025_16_49_25_9874.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/50/image_16062025_16_50_14_10014.jpg', '/mnt/data/16062025/16/49/image_16062025_16_50_04_9308.jpg', '/mnt/data/16062025/16/49/image_16062025_16_49_54_9933.jpg', '/mnt/data/16062025/16/49/image_16062025_16_49_44_9923.jpg', '/mnt/data/16062025/16/49/image_16062025_16_49_35_9931.jpg', '/mnt/data/16062025/16/49/image_16062025_16_49_25_9874.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/50/image_16062025_16_50_14_10014.jpg', '/mnt/data/16062025/16/49/image_16062025_16_50_04_9308.jpg', '/mnt/data/16062025/16/49/image_16062025_16_49_54_9933.jpg', '/mnt/data/16062025/16/49/image_16062025_16_49_44_9923.jpg', '/mnt/data/16062025/16/49/image_16062025_16_49_35_9931.jpg', '/mnt/data/16062025/16/49/image_16062025_16_49_25_9874.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/50/image_16062025_16_50_14_10014.jpg
/mnt/data/16062025/16/49/image_16062025_16_50_04_9308.jpg
/mnt/data/16062025/16/49/image_16062025_16_49_54_9933.jpg
/mnt/data/16062025/16/49/image_16062025_16_49_44_9923.jpg
/mnt/data/16062025/16/49/image_16062025_16_49_35_9931.jpg
/mnt/data/16062025/16/49/image_16062025_16_49_25_9874.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376419072","1376419075","1376419080","1376419082","1376419061","1376419070"],"photo_ids_order":["1376419061","1376419070","1376419072","1376419075","1376419080","1376419082"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b1965a8892afe60e8e0ffc62c3f167e0.jpg","text":"TemporaryFile(/tmp/multipartBody1456196064095900851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904606600,"filename":"image_16062025_16_49_54_9933.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/75fedcc139fab40c5c69bbe43c6816b9.jpg","text":"TemporaryFile(/tmp/multipartBody1999297098799018018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904606600,"filename":"image_16062025_16_49_44_9923.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1809f80ac6a97effbd922be376c3251b.jpg","text":"TemporaryFile(/tmp/multipartBody2330182258310816194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904606600,"filename":"image_16062025_16_49_35_9931.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/102de81e9c4f2cc8413e47c00c5d46e4.jpg","text":"TemporaryFile(/tmp/multipartBody2546620049561679756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904606600,"filename":"image_16062025_16_49_25_9874.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/68b606f9979e96b2630ecee349da428f.jpg","text":"TemporaryFile(/tmp/multipartBody2078858983419053984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904606600,"filename":"image_16062025_16_50_14_10014.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/227eefe101a248a974425f7cbd525f70.jpg","text":"TemporaryFile(/tmp/multipartBody4518678054162533308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904606600,"filename":"image_16062025_16_50_04_9308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376419072","file1":"1376419070","file0":"1376419061","file4":"1376419080","file5":"1376419082","file3":"1376419075"},"map_files_photo_id_array":[{"photo_id":"1376419082","filename":"file5"},{"photo_id":"1376419072","filename":"file2"},{"photo_id":"1376419080","filename":"file4"},{"photo_id":"1376419070","filename":"file1"},{"photo_id":"1376419061","filename":"file0"},{"photo_id":"1376419075","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376419072":["hashtag1","hashtag2"]},{"1376419075":["hashtag1","hashtag2"]},{"1376419080":["hashtag1","hashtag2"]},{"1376419082":["hashtag1","hashtag2"]},{"1376419061":["hashtag1","hashtag2"]},{"1376419070":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376419072, 1376419075, 1376419080, 1376419082, 1376419061, 1376419070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.16347312927246 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:30:02.463918
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/49/image_16062025_16_49_15_10137.jpg', 2), ('/mnt/data/16062025/16/48/image_16062025_16_49_05_10181.jpg', 2), ('/mnt/data/16062025/16/48/image_16062025_16_48_54_10059.jpg', 2), ('/mnt/data/16062025/16/48/image_16062025_16_48_44_10084.jpg', 2), ('/mnt/data/16062025/16/48/image_16062025_16_48_34_10176.jpg', 2), ('/mnt/data/16062025/16/48/image_16062025_16_48_24_10131.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/49/image_16062025_16_49_15_10137.jpg', '/mnt/data/16062025/16/48/image_16062025_16_49_05_10181.jpg', '/mnt/data/16062025/16/48/image_16062025_16_48_54_10059.jpg', '/mnt/data/16062025/16/48/image_16062025_16_48_44_10084.jpg', '/mnt/data/16062025/16/48/image_16062025_16_48_34_10176.jpg', '/mnt/data/16062025/16/48/image_16062025_16_48_24_10131.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/49/image_16062025_16_49_15_10137.jpg', '/mnt/data/16062025/16/48/image_16062025_16_49_05_10181.jpg', '/mnt/data/16062025/16/48/image_16062025_16_48_54_10059.jpg', '/mnt/data/16062025/16/48/image_16062025_16_48_44_10084.jpg', '/mnt/data/16062025/16/48/image_16062025_16_48_34_10176.jpg', '/mnt/data/16062025/16/48/image_16062025_16_48_24_10131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/49/image_16062025_16_49_15_10137.jpg
/mnt/data/16062025/16/48/image_16062025_16_49_05_10181.jpg
/mnt/data/16062025/16/48/image_16062025_16_48_54_10059.jpg
/mnt/data/16062025/16/48/image_16062025_16_48_44_10084.jpg
/mnt/data/16062025/16/48/image_16062025_16_48_34_10176.jpg
/mnt/data/16062025/16/48/image_16062025_16_48_24_10131.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376419145","1376419133","1376419147","1376419137","1376419140","1376419154"],"photo_ids_order":["1376419133","1376419137","1376419140","1376419145","1376419147","1376419154"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/22c75ae78bbf75dc976da16fc44b4107.jpg","text":"TemporaryFile(/tmp/multipartBody2964341557868855764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904693057,"filename":"image_16062025_16_48_44_10084.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fbea84bcae7ab21c0d5f9b8c8180dc2a.jpg","text":"TemporaryFile(/tmp/multipartBody8215216732782829529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904693057,"filename":"image_16062025_16_49_15_10137.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/38970d528c7f543de5ee666e01762367.jpg","text":"TemporaryFile(/tmp/multipartBody7629226636731978337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904693057,"filename":"image_16062025_16_48_34_10176.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/73d98d2fc39c112612922bb45631161b.jpg","text":"TemporaryFile(/tmp/multipartBody3948253546750879673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904693057,"filename":"image_16062025_16_49_05_10181.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3acc8599a4128fcd383eaae09b8f1dcf.jpg","text":"TemporaryFile(/tmp/multipartBody4497487102841256745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904693057,"filename":"image_16062025_16_48_54_10059.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f1e59250182e5b56b938cc03858a6a22.jpg","text":"TemporaryFile(/tmp/multipartBody3845109212364954464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754904693057,"filename":"image_16062025_16_48_24_10131.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376419140","file1":"1376419137","file0":"1376419133","file4":"1376419147","file5":"1376419154","file3":"1376419145"},"map_files_photo_id_array":[{"photo_id":"1376419154","filename":"file5"},{"photo_id":"1376419140","filename":"file2"},{"photo_id":"1376419147","filename":"file4"},{"photo_id":"1376419137","filename":"file1"},{"photo_id":"1376419133","filename":"file0"},{"photo_id":"1376419145","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376419145":["hashtag1","hashtag2"]},{"1376419133":["hashtag1","hashtag2"]},{"1376419147":["hashtag1","hashtag2"]},{"1376419137":["hashtag1","hashtag2"]},{"1376419140":["hashtag1","hashtag2"]},{"1376419154":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376419145, 1376419133, 1376419147, 1376419137, 1376419140, 1376419154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.09859085083008 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:32:02.842439
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg', '/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg', '/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg
/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 131.00361347198486 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:35:02.973938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg', '/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg', '/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg
/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 129.9280116558075 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:38:02.807585
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg', '/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg', '/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg
/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376419409","1376419393","1376419390","1376419405","1376419397","1376419401"],"photo_ids_order":["1376419390","1376419393","1376419397","1376419401","1376419405","1376419409"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9060713f9eb53af3ce5201cae6dd1280.jpg","text":"TemporaryFile(/tmp/multipartBody6001159507096879165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905155170,"filename":"image_16062025_16_47_24_10092.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/024c5196b1f3d57a47fddcb2c6ec8225.jpg","text":"TemporaryFile(/tmp/multipartBody563669785444136378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905155170,"filename":"image_16062025_16_48_04_10102.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8f256abe11a5d33734eac693f72b8bb4.jpg","text":"TemporaryFile(/tmp/multipartBody7754129335317847567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905155170,"filename":"image_16062025_16_48_14_10095.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5bf0393ce5247ded45f30d29d3e53b93.jpg","text":"TemporaryFile(/tmp/multipartBody3581654157987251456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905155170,"filename":"image_16062025_16_47_34_9947.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/03ef54da9aace64979b341637a9d25fc.jpg","text":"TemporaryFile(/tmp/multipartBody3829806616969175083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905155170,"filename":"image_16062025_16_47_54_9950.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/af1b4368b5d458bb9f5d279d3e0b226c.jpg","text":"TemporaryFile(/tmp/multipartBody4516583802823521392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905155170,"filename":"image_16062025_16_47_44_9999.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376419397","file1":"1376419393","file0":"1376419390","file4":"1376419405","file5":"1376419409","file3":"1376419401"},"map_files_photo_id_array":[{"photo_id":"1376419409","filename":"file5"},{"photo_id":"1376419397","filename":"file2"},{"photo_id":"1376419405","filename":"file4"},{"photo_id":"1376419393","filename":"file1"},{"photo_id":"1376419390","filename":"file0"},{"photo_id":"1376419401","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376419409":["hashtag1","hashtag2"]},{"1376419393":["hashtag1","hashtag2"]},{"1376419390":["hashtag1","hashtag2"]},{"1376419405":["hashtag1","hashtag2"]},{"1376419397":["hashtag1","hashtag2"]},{"1376419401":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376419409, 1376419393, 1376419390, 1376419405, 1376419397, 1376419401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.0832576751709 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:39:02.859204
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/47/image_16062025_16_47_14_9013.jpg', 2), ('/mnt/data/16062025/16/46/image_16062025_16_47_05_10055.jpg', 2), ('/mnt/data/16062025/16/46/image_16062025_16_46_55_9937.jpg', 2), ('/mnt/data/16062025/16/46/image_16062025_16_46_45_11135.jpg', 2), ('/mnt/data/16062025/16/46/image_16062025_16_46_34_9974.jpg', 2), ('/mnt/data/16062025/16/46/image_16062025_16_46_24_9937.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/47/image_16062025_16_47_14_9013.jpg', '/mnt/data/16062025/16/46/image_16062025_16_47_05_10055.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_55_9937.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_45_11135.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_34_9974.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_24_9937.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/47/image_16062025_16_47_14_9013.jpg', '/mnt/data/16062025/16/46/image_16062025_16_47_05_10055.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_55_9937.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_45_11135.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_34_9974.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_24_9937.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/47/image_16062025_16_47_14_9013.jpg
/mnt/data/16062025/16/46/image_16062025_16_47_05_10055.jpg
/mnt/data/16062025/16/46/image_16062025_16_46_55_9937.jpg
/mnt/data/16062025/16/46/image_16062025_16_46_45_11135.jpg
/mnt/data/16062025/16/46/image_16062025_16_46_34_9974.jpg
/mnt/data/16062025/16/46/image_16062025_16_46_24_9937.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376419421","1376419441","1376419438","1376419432","1376419426","1376419428"],"photo_ids_order":["1376419421","1376419426","1376419428","1376419432","1376419438","1376419441"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4cb3145a6d230c64010d7cee54d5d9a3.jpg","text":"TemporaryFile(/tmp/multipartBody6960014291467290488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905206619,"filename":"image_16062025_16_47_14_9013.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cfc28b98fdd8636e495a430fee85e43b.jpg","text":"TemporaryFile(/tmp/multipartBody5696654266353628815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905206619,"filename":"image_16062025_16_46_24_9937.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d5ef3d5aba557f9efe147ae4612f3319.jpg","text":"TemporaryFile(/tmp/multipartBody5071263874599964776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905206619,"filename":"image_16062025_16_46_34_9974.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/23cdcf46acfb483c43c305f5141dff59.jpg","text":"TemporaryFile(/tmp/multipartBody5732968796304135404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905206619,"filename":"image_16062025_16_46_45_11135.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b9a0f27ff46fea3701ea309038ea20e5.jpg","text":"TemporaryFile(/tmp/multipartBody1988576792725879227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905206619,"filename":"image_16062025_16_47_05_10055.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bced00aef1977536ab654f0440e5cb9f.jpg","text":"TemporaryFile(/tmp/multipartBody4851091696626559160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905206619,"filename":"image_16062025_16_46_55_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376419428","file1":"1376419426","file0":"1376419421","file4":"1376419438","file5":"1376419441","file3":"1376419432"},"map_files_photo_id_array":[{"photo_id":"1376419441","filename":"file5"},{"photo_id":"1376419428","filename":"file2"},{"photo_id":"1376419438","filename":"file4"},{"photo_id":"1376419426","filename":"file1"},{"photo_id":"1376419421","filename":"file0"},{"photo_id":"1376419432","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376419421":["hashtag1","hashtag2"]},{"1376419441":["hashtag1","hashtag2"]},{"1376419438":["hashtag1","hashtag2"]},{"1376419432":["hashtag1","hashtag2"]},{"1376419426":["hashtag1","hashtag2"]},{"1376419428":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376419421, 1376419441, 1376419438, 1376419432, 1376419426, 1376419428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.11687254905701 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:40:02.512280
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/46/image_16062025_16_46_14_10058.jpg', 2), ('/mnt/data/16062025/16/45/image_16062025_16_46_04_9083.jpg', 2), ('/mnt/data/16062025/16/45/image_16062025_16_45_55_9967.jpg', 2), ('/mnt/data/16062025/16/45/image_16062025_16_45_45_10052.jpg', 2), ('/mnt/data/16062025/16/45/image_16062025_16_45_24_10015.jpg', 2), ('/mnt/data/16062025/16/45/image_16062025_16_45_14_9968.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/46/image_16062025_16_46_14_10058.jpg', '/mnt/data/16062025/16/45/image_16062025_16_46_04_9083.jpg', '/mnt/data/16062025/16/45/image_16062025_16_45_55_9967.jpg', '/mnt/data/16062025/16/45/image_16062025_16_45_45_10052.jpg', '/mnt/data/16062025/16/45/image_16062025_16_45_24_10015.jpg', '/mnt/data/16062025/16/45/image_16062025_16_45_14_9968.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/46/image_16062025_16_46_14_10058.jpg', '/mnt/data/16062025/16/45/image_16062025_16_46_04_9083.jpg', '/mnt/data/16062025/16/45/image_16062025_16_45_55_9967.jpg', '/mnt/data/16062025/16/45/image_16062025_16_45_45_10052.jpg', '/mnt/data/16062025/16/45/image_16062025_16_45_24_10015.jpg', '/mnt/data/16062025/16/45/image_16062025_16_45_14_9968.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/46/image_16062025_16_46_14_10058.jpg
/mnt/data/16062025/16/45/image_16062025_16_46_04_9083.jpg
/mnt/data/16062025/16/45/image_16062025_16_45_55_9967.jpg
/mnt/data/16062025/16/45/image_16062025_16_45_45_10052.jpg
/mnt/data/16062025/16/45/image_16062025_16_45_24_10015.jpg
/mnt/data/16062025/16/45/image_16062025_16_45_14_9968.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376419505","1376419480","1376419483","1376419525","1376419609","1376419557"],"photo_ids_order":["1376419480","1376419483","1376419505","1376419525","1376419557","1376419609"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8d113ec0e83b36310d103645cb3fee79.jpg","text":"TemporaryFile(/tmp/multipartBody5937883235734751602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905289327,"filename":"image_16062025_16_45_55_9967.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6fcf1f02f927f43bf202d2ea000fc200.jpg","text":"TemporaryFile(/tmp/multipartBody7671172396361582843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905289327,"filename":"image_16062025_16_46_14_10058.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a1dcf9f97cce45c781690222dde0a2d2.jpg","text":"TemporaryFile(/tmp/multipartBody892908777539934015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905289327,"filename":"image_16062025_16_46_04_9083.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fe0cc99f742ba3001113020f68004de2.jpg","text":"TemporaryFile(/tmp/multipartBody5490120052430036961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905289327,"filename":"image_16062025_16_45_45_10052.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/269919f757089e7edd79e2068e1c88af.jpg","text":"TemporaryFile(/tmp/multipartBody8807447678747165655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905289327,"filename":"image_16062025_16_45_14_9968.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/02e6fec18c54081fabef7cd56157e695.jpg","text":"TemporaryFile(/tmp/multipartBody5815419986760964505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905289327,"filename":"image_16062025_16_45_24_10015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376419505","file1":"1376419483","file0":"1376419480","file4":"1376419557","file5":"1376419609","file3":"1376419525"},"map_files_photo_id_array":[{"photo_id":"1376419609","filename":"file5"},{"photo_id":"1376419505","filename":"file2"},{"photo_id":"1376419557","filename":"file4"},{"photo_id":"1376419483","filename":"file1"},{"photo_id":"1376419480","filename":"file0"},{"photo_id":"1376419525","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376419505":["hashtag1","hashtag2"]},{"1376419480":["hashtag1","hashtag2"]},{"1376419483":["hashtag1","hashtag2"]},{"1376419525":["hashtag1","hashtag2"]},{"1376419609":["hashtag1","hashtag2"]},{"1376419557":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376419505, 1376419480, 1376419483, 1376419525, 1376419609, 1376419557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.95043778419495 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:42:02.606900
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/44/image_16062025_16_45_04_10237.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_54_9998.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/44/image_16062025_16_45_04_10237.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_54_9998.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/44/image_16062025_16_45_04_10237.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_54_9998.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/44/image_16062025_16_45_04_10237.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_54_9998.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 140.24050784111023 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:45:03.505757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/44/image_16062025_16_45_04_10237.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_54_9998.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/44/image_16062025_16_45_04_10237.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_54_9998.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/44/image_16062025_16_45_04_10237.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_54_9998.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/44/image_16062025_16_45_04_10237.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_54_9998.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 137.12902545928955 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:48:02.399540
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/44/image_16062025_16_45_04_10237.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_54_9998.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/44/image_16062025_16_45_04_10237.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_54_9998.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/44/image_16062025_16_45_04_10237.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_54_9998.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/44/image_16062025_16_45_04_10237.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_54_9998.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376420606","1376420614","1376420608","1376420619","1376420622","1376420610"],"photo_ids_order":["1376420606","1376420608","1376420610","1376420614","1376420619","1376420622"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d3dc51add4045dfebc6db505ea27459e.jpg","text":"TemporaryFile(/tmp/multipartBody5548843591989145126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905750814,"filename":"image_16062025_16_45_04_10237.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c12d9227341048375ea7ee7bc2d90148.jpg","text":"TemporaryFile(/tmp/multipartBody8815998293970115009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905750814,"filename":"image_16062025_16_44_34_9963.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/aecedf1c40f5de3186debb7e7770f326.jpg","text":"TemporaryFile(/tmp/multipartBody2870099808071343579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905750814,"filename":"image_16062025_16_44_54_9998.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3b0fa0cf6d5578af94b52724f3a4858e.jpg","text":"TemporaryFile(/tmp/multipartBody4512891396273596006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905750814,"filename":"image_16062025_16_44_24_10051.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7a0a7f977b830bd95f9b39fffaee963c.jpg","text":"TemporaryFile(/tmp/multipartBody2696142589086848028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905750814,"filename":"image_16062025_16_44_14_9976.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0e3b5bbd4fefc7ffcf4da71208ce5cb5.jpg","text":"TemporaryFile(/tmp/multipartBody7085968247705928004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905750814,"filename":"image_16062025_16_44_44_9969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376420610","file1":"1376420608","file0":"1376420606","file4":"1376420619","file5":"1376420622","file3":"1376420614"},"map_files_photo_id_array":[{"photo_id":"1376420622","filename":"file5"},{"photo_id":"1376420610","filename":"file2"},{"photo_id":"1376420619","filename":"file4"},{"photo_id":"1376420608","filename":"file1"},{"photo_id":"1376420606","filename":"file0"},{"photo_id":"1376420614","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376420606":["hashtag1","hashtag2"]},{"1376420614":["hashtag1","hashtag2"]},{"1376420608":["hashtag1","hashtag2"]},{"1376420619":["hashtag1","hashtag2"]},{"1376420622":["hashtag1","hashtag2"]},{"1376420610":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376420606, 1376420614, 1376420608, 1376420619, 1376420622, 1376420610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.65739035606384 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:49:03.443409
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/43/image_16062025_16_44_04_10217.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_54_9943.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_44_9947.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_34_10006.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_24_10033.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_14_9950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/43/image_16062025_16_44_04_10217.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_54_9943.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_44_9947.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_34_10006.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_24_10033.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_14_9950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/43/image_16062025_16_44_04_10217.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_54_9943.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_44_9947.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_34_10006.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_24_10033.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_14_9950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/43/image_16062025_16_44_04_10217.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_54_9943.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_44_9947.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_34_10006.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_24_10033.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_14_9950.jpg
uploaded 0 photos
time to upload: 30.365862131118774 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:50:03.034079
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/43/image_16062025_16_44_04_10217.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_54_9943.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_44_9947.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_34_10006.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_24_10033.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_14_9950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/43/image_16062025_16_44_04_10217.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_54_9943.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_44_9947.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_34_10006.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_24_10033.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_14_9950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/43/image_16062025_16_44_04_10217.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_54_9943.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_44_9947.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_34_10006.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_24_10033.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_14_9950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/43/image_16062025_16_44_04_10217.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_54_9943.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_44_9947.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_34_10006.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_24_10033.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_14_9950.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376421082","1376421087","1376421033","1376421092","1376421000","1376421065"],"photo_ids_order":["1376421000","1376421033","1376421065","1376421082","1376421087","1376421092"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/84b52f7506ab329caa87736ce733bdb2.jpg","text":"TemporaryFile(/tmp/multipartBody157188497399877252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905877670,"filename":"image_16062025_16_43_34_10006.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a65cf7b8f4b9f075ca9580dbf557927a.jpg","text":"TemporaryFile(/tmp/multipartBody1500796846605918125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905877670,"filename":"image_16062025_16_43_24_10033.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/db2b392db84e671dc146ff51c3a6be10.jpg","text":"TemporaryFile(/tmp/multipartBody8818575023252544685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905877670,"filename":"image_16062025_16_43_54_9943.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0231c412fb3cf2de399139f7a94a7503.jpg","text":"TemporaryFile(/tmp/multipartBody8755111111161897379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905877670,"filename":"image_16062025_16_43_14_9950.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/33628c2a6597759c4bc0f17242ea229d.jpg","text":"TemporaryFile(/tmp/multipartBody2128455189273923033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905877670,"filename":"image_16062025_16_44_04_10217.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/36210f470197533c0fa65f40583088f5.jpg","text":"TemporaryFile(/tmp/multipartBody5061986973388536771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905877670,"filename":"image_16062025_16_43_44_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376421065","file1":"1376421033","file0":"1376421000","file4":"1376421087","file5":"1376421092","file3":"1376421082"},"map_files_photo_id_array":[{"photo_id":"1376421092","filename":"file5"},{"photo_id":"1376421065","filename":"file2"},{"photo_id":"1376421087","filename":"file4"},{"photo_id":"1376421033","filename":"file1"},{"photo_id":"1376421000","filename":"file0"},{"photo_id":"1376421082","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376421082":["hashtag1","hashtag2"]},{"1376421087":["hashtag1","hashtag2"]},{"1376421033":["hashtag1","hashtag2"]},{"1376421092":["hashtag1","hashtag2"]},{"1376421000":["hashtag1","hashtag2"]},{"1376421065":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376421082, 1376421087, 1376421033, 1376421092, 1376421000, 1376421065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.725324392318726 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:51:03.132521
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/42/image_16062025_16_43_04_10258.jpg', 2), ('/mnt/data/16062025/16/42/image_16062025_16_42_54_9996.jpg', 2), ('/mnt/data/16062025/16/42/image_16062025_16_42_44_9938.jpg', 2), ('/mnt/data/16062025/16/42/image_16062025_16_42_34_9920.jpg', 2), ('/mnt/data/16062025/16/42/image_16062025_16_42_24_9939.jpg', 2), ('/mnt/data/16062025/16/42/image_16062025_16_42_14_10032.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/42/image_16062025_16_43_04_10258.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_54_9996.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_44_9938.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_34_9920.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_24_9939.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_14_10032.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/42/image_16062025_16_43_04_10258.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_54_9996.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_44_9938.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_34_9920.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_24_9939.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_14_10032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/42/image_16062025_16_43_04_10258.jpg
/mnt/data/16062025/16/42/image_16062025_16_42_54_9996.jpg
/mnt/data/16062025/16/42/image_16062025_16_42_44_9938.jpg
/mnt/data/16062025/16/42/image_16062025_16_42_34_9920.jpg
/mnt/data/16062025/16/42/image_16062025_16_42_24_9939.jpg
/mnt/data/16062025/16/42/image_16062025_16_42_14_10032.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376421116","1376421196","1376421130","1376421118","1376421162","1376421119"],"photo_ids_order":["1376421116","1376421118","1376421119","1376421130","1376421162","1376421196"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/58ffd75278a8d92d9bdd321a93e6cb96.jpg","text":"TemporaryFile(/tmp/multipartBody7206288939866611912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905928492,"filename":"image_16062025_16_43_04_10258.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ce57c39f8d4359d310c99aa82570c32d.jpg","text":"TemporaryFile(/tmp/multipartBody5870794829769067760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905928492,"filename":"image_16062025_16_42_14_10032.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f24b8ec0ec1b91e8b8eb0e118c961590.jpg","text":"TemporaryFile(/tmp/multipartBody7704780696469044120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905928492,"filename":"image_16062025_16_42_34_9920.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1268ea6c3de9b3ad228bb716e41cf76a.jpg","text":"TemporaryFile(/tmp/multipartBody5453022061546222452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905928492,"filename":"image_16062025_16_42_54_9996.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0bde609475bd2dd93d32bded3051d4eb.jpg","text":"TemporaryFile(/tmp/multipartBody9128739503009241636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905928492,"filename":"image_16062025_16_42_24_9939.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9e6d9ddd6c1a04a73af975a2eeb43700.jpg","text":"TemporaryFile(/tmp/multipartBody2302435742952935811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754905928492,"filename":"image_16062025_16_42_44_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376421119","file1":"1376421118","file0":"1376421116","file4":"1376421162","file5":"1376421196","file3":"1376421130"},"map_files_photo_id_array":[{"photo_id":"1376421196","filename":"file5"},{"photo_id":"1376421119","filename":"file2"},{"photo_id":"1376421162","filename":"file4"},{"photo_id":"1376421118","filename":"file1"},{"photo_id":"1376421116","filename":"file0"},{"photo_id":"1376421130","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376421116":["hashtag1","hashtag2"]},{"1376421196":["hashtag1","hashtag2"]},{"1376421130":["hashtag1","hashtag2"]},{"1376421118":["hashtag1","hashtag2"]},{"1376421162":["hashtag1","hashtag2"]},{"1376421119":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376421116, 1376421196, 1376421130, 1376421118, 1376421162, 1376421119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.92066717147827 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:52:02.941624
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/41/image_16062025_16_42_04_10334.jpg', 2), ('/mnt/data/16062025/16/41/image_16062025_16_41_25_10068.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_35_04_10251.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/41/image_16062025_16_42_04_10334.jpg', '/mnt/data/16062025/16/41/image_16062025_16_41_25_10068.jpg', '/mnt/data/16062025/16/34/image_16062025_16_35_04_10251.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/41/image_16062025_16_42_04_10334.jpg', '/mnt/data/16062025/16/41/image_16062025_16_41_25_10068.jpg', '/mnt/data/16062025/16/34/image_16062025_16_35_04_10251.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/41/image_16062025_16_42_04_10334.jpg
/mnt/data/16062025/16/41/image_16062025_16_41_25_10068.jpg
/mnt/data/16062025/16/34/image_16062025_16_35_04_10251.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376421466","1376421442","1376421459","1376421450","1376421455","1376421437"],"photo_ids_order":["1376421437","1376421442","1376421450","1376421455","1376421459","1376421466"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/878832259c6d52ee25e19ca728749e3e.jpg","text":"TemporaryFile(/tmp/multipartBody8466932804953115376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906000049,"filename":"image_16062025_16_34_34_10236.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/558d27ed51fd853f843e743cb64765b9.jpg","text":"TemporaryFile(/tmp/multipartBody7780418367545495437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906000049,"filename":"image_16062025_16_41_25_10068.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ecfea678305792ffd04ff80fb8c0713d.jpg","text":"TemporaryFile(/tmp/multipartBody5604724691829044080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906000049,"filename":"image_16062025_16_34_44_10128.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a5ba8135884e5394f5e8fea3a0cbd11b.jpg","text":"TemporaryFile(/tmp/multipartBody851932986966533766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906000049,"filename":"image_16062025_16_35_04_10251.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3193829414eb4882f25b3094745d8a50.jpg","text":"TemporaryFile(/tmp/multipartBody1130473864340382339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906000049,"filename":"image_16062025_16_34_54_9989.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7c6987e5a388ceca676707ccc17076cb.jpg","text":"TemporaryFile(/tmp/multipartBody4455837047367875847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906000049,"filename":"image_16062025_16_42_04_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376421450","file1":"1376421442","file0":"1376421437","file4":"1376421459","file5":"1376421466","file3":"1376421455"},"map_files_photo_id_array":[{"photo_id":"1376421466","filename":"file5"},{"photo_id":"1376421450","filename":"file2"},{"photo_id":"1376421459","filename":"file4"},{"photo_id":"1376421442","filename":"file1"},{"photo_id":"1376421437","filename":"file0"},{"photo_id":"1376421455","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376421466":["hashtag1","hashtag2"]},{"1376421442":["hashtag1","hashtag2"]},{"1376421459":["hashtag1","hashtag2"]},{"1376421450":["hashtag1","hashtag2"]},{"1376421455":["hashtag1","hashtag2"]},{"1376421437":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376421466, 1376421442, 1376421459, 1376421450, 1376421455, 1376421437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.62609529495239 secondes ---
MMMMMM fin de la fonction upload
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:54:02.701246
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg
/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg
uploaded 0 photos
time to upload: 30.377559423446655 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:55:02.821258
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg
/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 141.89637851715088 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 11:59:03.233721
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg
/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg
uploaded 0 photos
time to upload: 30.330156326293945 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:00:02.862845
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg
/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376422648","1376422828","1376422708","1376422889","1376422958","1376422766"],"photo_ids_order":["1376422648","1376422708","1376422766","1376422828","1376422889","1376422958"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/46f002d0e51d62917d169d52eab63740.jpg","text":"TemporaryFile(/tmp/multipartBody6341172703441499081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906491567,"filename":"image_16062025_16_34_24_9804.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7a26759bdd9d822df7bf594e9a1d0ace.jpg","text":"TemporaryFile(/tmp/multipartBody5658711612020646155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906491567,"filename":"image_16062025_16_33_54_8927.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b673e5b700c45f785e268130e1a690e5.jpg","text":"TemporaryFile(/tmp/multipartBody7472673004370193092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906491567,"filename":"image_16062025_16_34_14_9935.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4c3ce3b8021eb1a04bee5066651787d3.jpg","text":"TemporaryFile(/tmp/multipartBody7582781209504873816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906491567,"filename":"image_16062025_16_33_45_10540.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a9deb69dc4002f917238b6c154951dcf.jpg","text":"TemporaryFile(/tmp/multipartBody8038849919103397718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906491567,"filename":"image_16062025_16_33_34_10179.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b64ffb518b7ba964a60f42fad3b8b640.jpg","text":"TemporaryFile(/tmp/multipartBody6053049883954628507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906491567,"filename":"image_16062025_16_34_04_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376422766","file1":"1376422708","file0":"1376422648","file4":"1376422889","file5":"1376422958","file3":"1376422828"},"map_files_photo_id_array":[{"photo_id":"1376422958","filename":"file5"},{"photo_id":"1376422766","filename":"file2"},{"photo_id":"1376422889","filename":"file4"},{"photo_id":"1376422708","filename":"file1"},{"photo_id":"1376422648","filename":"file0"},{"photo_id":"1376422828","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376422648":["hashtag1","hashtag2"]},{"1376422828":["hashtag1","hashtag2"]},{"1376422708":["hashtag1","hashtag2"]},{"1376422889":["hashtag1","hashtag2"]},{"1376422958":["hashtag1","hashtag2"]},{"1376422766":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376422648, 1376422828, 1376422708, 1376422889, 1376422958, 1376422766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.48301982879639 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:02:02.468597
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg', '/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg', '/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg
/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 149.3449945449829 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:05:02.508087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg', '/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg', '/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg
/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg
uploaded 0 photos
time to upload: 30.36118245124817 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:06:03.086166
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg', '/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg', '/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg
/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376424873","1376424875","1376424863","1376424868","1376424877","1376424858"],"photo_ids_order":["1376424858","1376424863","1376424868","1376424873","1376424875","1376424877"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7bcef1a4028e2d762fdfb9bd23d68813.jpg","text":"TemporaryFile(/tmp/multipartBody2421599952936325883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906836087,"filename":"image_16062025_16_32_55_10181.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b7ba7eda81aae184114293b8c470244d.jpg","text":"TemporaryFile(/tmp/multipartBody5750729494128115879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906836087,"filename":"image_16062025_16_32_44_10273.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4b1ac589e530bd9cfaf33933ba34e85f.jpg","text":"TemporaryFile(/tmp/multipartBody6875816504677758802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906836087,"filename":"image_16062025_16_33_14_10136.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/22eb98c017b62d2ce8d37451a94ffd01.jpg","text":"TemporaryFile(/tmp/multipartBody3068047062395144560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906836087,"filename":"image_16062025_16_33_04_9166.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8f7bb98009d13d23659de129268a7952.jpg","text":"TemporaryFile(/tmp/multipartBody4323069047044740672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906836087,"filename":"image_16062025_16_32_34_10205.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/91a1c98db21f643f00cfd29ab9d810ed.jpg","text":"TemporaryFile(/tmp/multipartBody2954808034368948919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906836087,"filename":"image_16062025_16_33_24_10180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376424868","file1":"1376424863","file0":"1376424858","file4":"1376424875","file5":"1376424877","file3":"1376424873"},"map_files_photo_id_array":[{"photo_id":"1376424877","filename":"file5"},{"photo_id":"1376424868","filename":"file2"},{"photo_id":"1376424875","filename":"file4"},{"photo_id":"1376424863","filename":"file1"},{"photo_id":"1376424858","filename":"file0"},{"photo_id":"1376424873","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376424873":["hashtag1","hashtag2"]},{"1376424875":["hashtag1","hashtag2"]},{"1376424863":["hashtag1","hashtag2"]},{"1376424868":["hashtag1","hashtag2"]},{"1376424877":["hashtag1","hashtag2"]},{"1376424858":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376424873, 1376424875, 1376424863, 1376424868, 1376424877, 1376424858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.12169361114502 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:07:03.024566
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/32/image_16062025_16_32_24_10002.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_14_10145.jpg', 2), ('/mnt/data/16062025/16/31/image_16062025_16_32_04_10000.jpg', 2), ('/mnt/data/16062025/16/31/image_16062025_16_31_54_8957.jpg', 2), ('/mnt/data/16062025/16/31/image_16062025_16_31_45_10178.jpg', 2), ('/mnt/data/16062025/16/31/image_16062025_16_31_35_10027.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/32/image_16062025_16_32_24_10002.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_14_10145.jpg', '/mnt/data/16062025/16/31/image_16062025_16_32_04_10000.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_54_8957.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_45_10178.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_35_10027.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/32/image_16062025_16_32_24_10002.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_14_10145.jpg', '/mnt/data/16062025/16/31/image_16062025_16_32_04_10000.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_54_8957.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_45_10178.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_35_10027.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/32/image_16062025_16_32_24_10002.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_14_10145.jpg
/mnt/data/16062025/16/31/image_16062025_16_32_04_10000.jpg
/mnt/data/16062025/16/31/image_16062025_16_31_54_8957.jpg
/mnt/data/16062025/16/31/image_16062025_16_31_45_10178.jpg
/mnt/data/16062025/16/31/image_16062025_16_31_35_10027.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376424909","1376424899","1376424903","1376424905","1376424895","1376424891"],"photo_ids_order":["1376424891","1376424895","1376424899","1376424903","1376424905","1376424909"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f7af931e3a3c72f2ea8a4606e9050c9d.jpg","text":"TemporaryFile(/tmp/multipartBody1343789478582778853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906896206,"filename":"image_16062025_16_31_35_10027.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8edf0b8d20b188ee5c255391e84b35c9.jpg","text":"TemporaryFile(/tmp/multipartBody863160176826708270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906896206,"filename":"image_16062025_16_32_04_10000.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a2e5e64a50c00c4626933607ddb691bf.jpg","text":"TemporaryFile(/tmp/multipartBody1507620427041157809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906896206,"filename":"image_16062025_16_31_54_8957.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/37266d1049a4343d1431543804a5872a.jpg","text":"TemporaryFile(/tmp/multipartBody8623589622453986214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906896206,"filename":"image_16062025_16_31_45_10178.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/833325b6fe4e09dd124af86de44ec9a0.jpg","text":"TemporaryFile(/tmp/multipartBody5826263709261269222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906896206,"filename":"image_16062025_16_32_14_10145.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e6f2da4c52b09c03a6e22b66c431cda6.jpg","text":"TemporaryFile(/tmp/multipartBody3376318704815124587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754906896206,"filename":"image_16062025_16_32_24_10002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376424899","file1":"1376424895","file0":"1376424891","file4":"1376424905","file5":"1376424909","file3":"1376424903"},"map_files_photo_id_array":[{"photo_id":"1376424909","filename":"file5"},{"photo_id":"1376424899","filename":"file2"},{"photo_id":"1376424905","filename":"file4"},{"photo_id":"1376424895","filename":"file1"},{"photo_id":"1376424891","filename":"file0"},{"photo_id":"1376424903","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376424909":["hashtag1","hashtag2"]},{"1376424899":["hashtag1","hashtag2"]},{"1376424903":["hashtag1","hashtag2"]},{"1376424905":["hashtag1","hashtag2"]},{"1376424895":["hashtag1","hashtag2"]},{"1376424891":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376424909, 1376424899, 1376424903, 1376424905, 1376424895, 1376424891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.19947528839111 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:08:02.853047
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/31/image_16062025_16_31_25_9999.jpg', 2), ('/mnt/data/16062025/16/31/image_16062025_16_31_15_10103.jpg', 2), ('/mnt/data/16062025/16/30/image_16062025_16_31_05_10191.jpg', 2), ('/mnt/data/16062025/16/30/image_16062025_16_30_54_9905.jpg', 2), ('/mnt/data/16062025/16/30/image_16062025_16_30_44_9905.jpg', 2), ('/mnt/data/16062025/16/30/image_16062025_16_30_35_9958.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/31/image_16062025_16_31_25_9999.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_15_10103.jpg', '/mnt/data/16062025/16/30/image_16062025_16_31_05_10191.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_54_9905.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_44_9905.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_35_9958.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/31/image_16062025_16_31_25_9999.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_15_10103.jpg', '/mnt/data/16062025/16/30/image_16062025_16_31_05_10191.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_54_9905.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_44_9905.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_35_9958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/31/image_16062025_16_31_25_9999.jpg
/mnt/data/16062025/16/31/image_16062025_16_31_15_10103.jpg
/mnt/data/16062025/16/30/image_16062025_16_31_05_10191.jpg
/mnt/data/16062025/16/30/image_16062025_16_30_54_9905.jpg
/mnt/data/16062025/16/30/image_16062025_16_30_44_9905.jpg
/mnt/data/16062025/16/30/image_16062025_16_30_35_9958.jpg
uploaded 0 photos
time to upload: 30.3513081073761 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:09:02.713119
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/31/image_16062025_16_31_25_9999.jpg', 2), ('/mnt/data/16062025/16/31/image_16062025_16_31_15_10103.jpg', 2), ('/mnt/data/16062025/16/30/image_16062025_16_31_05_10191.jpg', 2), ('/mnt/data/16062025/16/30/image_16062025_16_30_54_9905.jpg', 2), ('/mnt/data/16062025/16/30/image_16062025_16_30_44_9905.jpg', 2), ('/mnt/data/16062025/16/30/image_16062025_16_30_35_9958.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/31/image_16062025_16_31_25_9999.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_15_10103.jpg', '/mnt/data/16062025/16/30/image_16062025_16_31_05_10191.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_54_9905.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_44_9905.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_35_9958.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/31/image_16062025_16_31_25_9999.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_15_10103.jpg', '/mnt/data/16062025/16/30/image_16062025_16_31_05_10191.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_54_9905.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_44_9905.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_35_9958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/31/image_16062025_16_31_25_9999.jpg
/mnt/data/16062025/16/31/image_16062025_16_31_15_10103.jpg
/mnt/data/16062025/16/30/image_16062025_16_31_05_10191.jpg
/mnt/data/16062025/16/30/image_16062025_16_30_54_9905.jpg
/mnt/data/16062025/16/30/image_16062025_16_30_44_9905.jpg
/mnt/data/16062025/16/30/image_16062025_16_30_35_9958.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376424966","1376424954","1376424968","1376424964","1376424961","1376424957"],"photo_ids_order":["1376424954","1376424957","1376424961","1376424964","1376424966","1376424968"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fc4a8cc9f41bf9f82f3ac94fe3d040ec.jpg","text":"TemporaryFile(/tmp/multipartBody558278885234963213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907016396,"filename":"image_16062025_16_30_44_9905.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5211bb4a5913b4169f83febe6f47e127.jpg","text":"TemporaryFile(/tmp/multipartBody585897002015950185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907016396,"filename":"image_16062025_16_31_25_9999.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/17c766e404039517ebc710600f677f53.jpg","text":"TemporaryFile(/tmp/multipartBody895661908850073367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907016396,"filename":"image_16062025_16_30_35_9958.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/57c8856b5271f4f54df2cb404720044c.jpg","text":"TemporaryFile(/tmp/multipartBody982364953539393779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907016396,"filename":"image_16062025_16_30_54_9905.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c0f47be302a04ecc7ead22da2afd0e15.jpg","text":"TemporaryFile(/tmp/multipartBody2710527694147518359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907016396,"filename":"image_16062025_16_31_05_10191.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a3d133e7830f01010558f64af6c6b4ba.jpg","text":"TemporaryFile(/tmp/multipartBody7188542216589143599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907016396,"filename":"image_16062025_16_31_15_10103.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376424961","file1":"1376424957","file0":"1376424954","file4":"1376424966","file5":"1376424968","file3":"1376424964"},"map_files_photo_id_array":[{"photo_id":"1376424968","filename":"file5"},{"photo_id":"1376424961","filename":"file2"},{"photo_id":"1376424966","filename":"file4"},{"photo_id":"1376424957","filename":"file1"},{"photo_id":"1376424954","filename":"file0"},{"photo_id":"1376424964","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376424966":["hashtag1","hashtag2"]},{"1376424954":["hashtag1","hashtag2"]},{"1376424968":["hashtag1","hashtag2"]},{"1376424964":["hashtag1","hashtag2"]},{"1376424961":["hashtag1","hashtag2"]},{"1376424957":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376424966, 1376424954, 1376424968, 1376424964, 1376424961, 1376424957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.78268122673035 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:10:02.449431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/30/image_16062025_16_30_25_9950.jpg', 2), ('/mnt/data/16062025/16/29/image_16062025_16_30_05_10149.jpg', 2), ('/mnt/data/16062025/16/29/image_16062025_16_29_54_9965.jpg', 2), ('/mnt/data/16062025/16/29/image_16062025_16_29_45_9938.jpg', 2), ('/mnt/data/16062025/16/29/image_16062025_16_29_35_9966.jpg', 2), ('/mnt/data/16062025/16/29/image_16062025_16_29_25_10114.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/30/image_16062025_16_30_25_9950.jpg', '/mnt/data/16062025/16/29/image_16062025_16_30_05_10149.jpg', '/mnt/data/16062025/16/29/image_16062025_16_29_54_9965.jpg', '/mnt/data/16062025/16/29/image_16062025_16_29_45_9938.jpg', '/mnt/data/16062025/16/29/image_16062025_16_29_35_9966.jpg', '/mnt/data/16062025/16/29/image_16062025_16_29_25_10114.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/30/image_16062025_16_30_25_9950.jpg', '/mnt/data/16062025/16/29/image_16062025_16_30_05_10149.jpg', '/mnt/data/16062025/16/29/image_16062025_16_29_54_9965.jpg', '/mnt/data/16062025/16/29/image_16062025_16_29_45_9938.jpg', '/mnt/data/16062025/16/29/image_16062025_16_29_35_9966.jpg', '/mnt/data/16062025/16/29/image_16062025_16_29_25_10114.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/30/image_16062025_16_30_25_9950.jpg
/mnt/data/16062025/16/29/image_16062025_16_30_05_10149.jpg
/mnt/data/16062025/16/29/image_16062025_16_29_54_9965.jpg
/mnt/data/16062025/16/29/image_16062025_16_29_45_9938.jpg
/mnt/data/16062025/16/29/image_16062025_16_29_35_9966.jpg
/mnt/data/16062025/16/29/image_16062025_16_29_25_10114.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376425041","1376425052","1376425037","1376425045","1376425048","1376425050"],"photo_ids_order":["1376425037","1376425041","1376425045","1376425048","1376425050","1376425052"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c86f6871bbec57f075e892fe4b3e675b.jpg","text":"TemporaryFile(/tmp/multipartBody1033574567683726451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907076657,"filename":"image_16062025_16_30_05_10149.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8972c0e52b7013b7cb137d0b98feb785.jpg","text":"TemporaryFile(/tmp/multipartBody2515173991177733608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907076657,"filename":"image_16062025_16_29_25_10114.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fd64642ef288d664bb14541e790af8a5.jpg","text":"TemporaryFile(/tmp/multipartBody231702713574296335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907076657,"filename":"image_16062025_16_30_25_9950.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a3ad2a820aff2b9fe88c86edd020ff7a.jpg","text":"TemporaryFile(/tmp/multipartBody4745334979995300801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907076657,"filename":"image_16062025_16_29_54_9965.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5cf10492356c5c87212e4c686b6ac2e1.jpg","text":"TemporaryFile(/tmp/multipartBody7748017253824752768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907076657,"filename":"image_16062025_16_29_45_9938.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/733fe909f2e2752da71f39f400df4ae9.jpg","text":"TemporaryFile(/tmp/multipartBody9020779874456257188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907076657,"filename":"image_16062025_16_29_35_9966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376425045","file1":"1376425041","file0":"1376425037","file4":"1376425050","file5":"1376425052","file3":"1376425048"},"map_files_photo_id_array":[{"photo_id":"1376425052","filename":"file5"},{"photo_id":"1376425045","filename":"file2"},{"photo_id":"1376425050","filename":"file4"},{"photo_id":"1376425041","filename":"file1"},{"photo_id":"1376425037","filename":"file0"},{"photo_id":"1376425048","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376425041":["hashtag1","hashtag2"]},{"1376425052":["hashtag1","hashtag2"]},{"1376425037":["hashtag1","hashtag2"]},{"1376425045":["hashtag1","hashtag2"]},{"1376425048":["hashtag1","hashtag2"]},{"1376425050":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376425041, 1376425052, 1376425037, 1376425045, 1376425048, 1376425050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.618369579315186 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:11:03.598334
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/29/image_16062025_16_29_15_10181.jpg', 2), ('/mnt/data/16062025/16/28/image_16062025_16_29_04_10244.jpg', 2), ('/mnt/data/16062025/16/28/image_16062025_16_28_54_10159.jpg', 2), ('/mnt/data/16062025/16/28/image_16062025_16_28_44_10138.jpg', 2), ('/mnt/data/16062025/16/28/image_16062025_16_28_34_8945.jpg', 2), ('/mnt/data/16062025/16/28/image_16062025_16_28_25_10186.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/29/image_16062025_16_29_15_10181.jpg', '/mnt/data/16062025/16/28/image_16062025_16_29_04_10244.jpg', '/mnt/data/16062025/16/28/image_16062025_16_28_54_10159.jpg', '/mnt/data/16062025/16/28/image_16062025_16_28_44_10138.jpg', '/mnt/data/16062025/16/28/image_16062025_16_28_34_8945.jpg', '/mnt/data/16062025/16/28/image_16062025_16_28_25_10186.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/29/image_16062025_16_29_15_10181.jpg', '/mnt/data/16062025/16/28/image_16062025_16_29_04_10244.jpg', '/mnt/data/16062025/16/28/image_16062025_16_28_54_10159.jpg', '/mnt/data/16062025/16/28/image_16062025_16_28_44_10138.jpg', '/mnt/data/16062025/16/28/image_16062025_16_28_34_8945.jpg', '/mnt/data/16062025/16/28/image_16062025_16_28_25_10186.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/29/image_16062025_16_29_15_10181.jpg
/mnt/data/16062025/16/28/image_16062025_16_29_04_10244.jpg
/mnt/data/16062025/16/28/image_16062025_16_28_54_10159.jpg
/mnt/data/16062025/16/28/image_16062025_16_28_44_10138.jpg
/mnt/data/16062025/16/28/image_16062025_16_28_34_8945.jpg
/mnt/data/16062025/16/28/image_16062025_16_28_25_10186.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376425487","1376425475","1376425385","1376425472","1376425449","1376425416"],"photo_ids_order":["1376425385","1376425416","1376425449","1376425472","1376425475","1376425487"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d7498ab17ba2016de152574029092748.jpg","text":"TemporaryFile(/tmp/multipartBody5426686925634131368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907145556,"filename":"image_16062025_16_28_25_10186.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a96eeac59f36a85089576244e7875abd.jpg","text":"TemporaryFile(/tmp/multipartBody932002558370882482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907145556,"filename":"image_16062025_16_28_34_8945.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b24d3ac33dcaa5e12dd9d6ea4d04bfd3.jpg","text":"TemporaryFile(/tmp/multipartBody2511084320126999871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907145556,"filename":"image_16062025_16_29_15_10181.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/48aa641f6e16972c4aea8a2cfc13b21e.jpg","text":"TemporaryFile(/tmp/multipartBody3139136385349931275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907145556,"filename":"image_16062025_16_28_44_10138.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/35ac2b6a9a2b958fcd0f684fa1deceba.jpg","text":"TemporaryFile(/tmp/multipartBody3620899089955997231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907145556,"filename":"image_16062025_16_28_54_10159.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8609c20fd4432734ff80e9560124dbf4.jpg","text":"TemporaryFile(/tmp/multipartBody4966732900111325914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907145556,"filename":"image_16062025_16_29_04_10244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376425449","file1":"1376425416","file0":"1376425385","file4":"1376425475","file5":"1376425487","file3":"1376425472"},"map_files_photo_id_array":[{"photo_id":"1376425487","filename":"file5"},{"photo_id":"1376425449","filename":"file2"},{"photo_id":"1376425475","filename":"file4"},{"photo_id":"1376425416","filename":"file1"},{"photo_id":"1376425385","filename":"file0"},{"photo_id":"1376425472","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376425487":["hashtag1","hashtag2"]},{"1376425475":["hashtag1","hashtag2"]},{"1376425385":["hashtag1","hashtag2"]},{"1376425472":["hashtag1","hashtag2"]},{"1376425449":["hashtag1","hashtag2"]},{"1376425416":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376425487, 1376425475, 1376425385, 1376425472, 1376425449, 1376425416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.23502039909363 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:13:03.245011
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/28/image_16062025_16_28_15_10127.jpg', 2), ('/mnt/data/16062025/16/27/image_16062025_16_28_05_10283.jpg', 2), ('/mnt/data/16062025/16/27/image_16062025_16_27_54_10048.jpg', 2), ('/mnt/data/16062025/16/27/image_16062025_16_27_44_9981.jpg', 2), ('/mnt/data/16062025/16/27/image_16062025_16_27_34_9950.jpg', 2), ('/mnt/data/16062025/16/27/image_16062025_16_27_24_9921.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/28/image_16062025_16_28_15_10127.jpg', '/mnt/data/16062025/16/27/image_16062025_16_28_05_10283.jpg', '/mnt/data/16062025/16/27/image_16062025_16_27_54_10048.jpg', '/mnt/data/16062025/16/27/image_16062025_16_27_44_9981.jpg', '/mnt/data/16062025/16/27/image_16062025_16_27_34_9950.jpg', '/mnt/data/16062025/16/27/image_16062025_16_27_24_9921.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/28/image_16062025_16_28_15_10127.jpg', '/mnt/data/16062025/16/27/image_16062025_16_28_05_10283.jpg', '/mnt/data/16062025/16/27/image_16062025_16_27_54_10048.jpg', '/mnt/data/16062025/16/27/image_16062025_16_27_44_9981.jpg', '/mnt/data/16062025/16/27/image_16062025_16_27_34_9950.jpg', '/mnt/data/16062025/16/27/image_16062025_16_27_24_9921.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/28/image_16062025_16_28_15_10127.jpg
/mnt/data/16062025/16/27/image_16062025_16_28_05_10283.jpg
/mnt/data/16062025/16/27/image_16062025_16_27_54_10048.jpg
/mnt/data/16062025/16/27/image_16062025_16_27_44_9981.jpg
/mnt/data/16062025/16/27/image_16062025_16_27_34_9950.jpg
/mnt/data/16062025/16/27/image_16062025_16_27_24_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376425561","1376425564","1376425572","1376425566","1376425569","1376425557"],"photo_ids_order":["1376425557","1376425561","1376425564","1376425566","1376425569","1376425572"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d58b396e690a45248b785ae7eb615df3.jpg","text":"TemporaryFile(/tmp/multipartBody4222792233543610619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907262576,"filename":"image_16062025_16_28_05_10283.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/115d75ffa2b9aee8a6dad76e7c2d4d12.jpg","text":"TemporaryFile(/tmp/multipartBody6591179217521086807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907262576,"filename":"image_16062025_16_27_54_10048.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d157f2fd28a54679a526e9f14393ade5.jpg","text":"TemporaryFile(/tmp/multipartBody2426762785050870483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907262576,"filename":"image_16062025_16_27_24_9921.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/279e283b37703ffff2cf670373b0b96e.jpg","text":"TemporaryFile(/tmp/multipartBody4819339987484565928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907262576,"filename":"image_16062025_16_27_44_9981.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a259139d92a4a7b4fb24078f0a7dc93c.jpg","text":"TemporaryFile(/tmp/multipartBody3278559912289741964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907262576,"filename":"image_16062025_16_27_34_9950.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/923026dc4d4b5bc3292f9bc9ccb34148.jpg","text":"TemporaryFile(/tmp/multipartBody5988633604352698287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907262576,"filename":"image_16062025_16_28_15_10127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376425564","file1":"1376425561","file0":"1376425557","file4":"1376425569","file5":"1376425572","file3":"1376425566"},"map_files_photo_id_array":[{"photo_id":"1376425572","filename":"file5"},{"photo_id":"1376425564","filename":"file2"},{"photo_id":"1376425569","filename":"file4"},{"photo_id":"1376425561","filename":"file1"},{"photo_id":"1376425557","filename":"file0"},{"photo_id":"1376425566","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376425561":["hashtag1","hashtag2"]},{"1376425564":["hashtag1","hashtag2"]},{"1376425572":["hashtag1","hashtag2"]},{"1376425566":["hashtag1","hashtag2"]},{"1376425569":["hashtag1","hashtag2"]},{"1376425557":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376425561, 1376425564, 1376425572, 1376425566, 1376425569, 1376425557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.81047987937927 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:15:02.938004
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/27/image_16062025_16_27_14_9976.jpg', 2), ('/mnt/data/16062025/16/26/image_16062025_16_27_04_10080.jpg', 2), ('/mnt/data/16062025/16/26/image_16062025_16_26_54_9950.jpg', 2), ('/mnt/data/16062025/16/26/image_16062025_16_26_44_9935.jpg', 2), ('/mnt/data/16062025/16/26/image_16062025_16_26_34_9978.jpg', 2), ('/mnt/data/16062025/16/26/image_16062025_16_26_24_9923.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/27/image_16062025_16_27_14_9976.jpg', '/mnt/data/16062025/16/26/image_16062025_16_27_04_10080.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_54_9950.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_44_9935.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_34_9978.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_24_9923.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/27/image_16062025_16_27_14_9976.jpg', '/mnt/data/16062025/16/26/image_16062025_16_27_04_10080.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_54_9950.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_44_9935.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_34_9978.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_24_9923.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/27/image_16062025_16_27_14_9976.jpg
/mnt/data/16062025/16/26/image_16062025_16_27_04_10080.jpg
/mnt/data/16062025/16/26/image_16062025_16_26_54_9950.jpg
/mnt/data/16062025/16/26/image_16062025_16_26_44_9935.jpg
/mnt/data/16062025/16/26/image_16062025_16_26_34_9978.jpg
/mnt/data/16062025/16/26/image_16062025_16_26_24_9923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 132.57962107658386 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:18:02.520469
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/27/image_16062025_16_27_14_9976.jpg', 2), ('/mnt/data/16062025/16/26/image_16062025_16_27_04_10080.jpg', 2), ('/mnt/data/16062025/16/26/image_16062025_16_26_54_9950.jpg', 2), ('/mnt/data/16062025/16/26/image_16062025_16_26_44_9935.jpg', 2), ('/mnt/data/16062025/16/26/image_16062025_16_26_34_9978.jpg', 2), ('/mnt/data/16062025/16/26/image_16062025_16_26_24_9923.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/27/image_16062025_16_27_14_9976.jpg', '/mnt/data/16062025/16/26/image_16062025_16_27_04_10080.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_54_9950.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_44_9935.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_34_9978.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_24_9923.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/27/image_16062025_16_27_14_9976.jpg', '/mnt/data/16062025/16/26/image_16062025_16_27_04_10080.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_54_9950.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_44_9935.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_34_9978.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_24_9923.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/27/image_16062025_16_27_14_9976.jpg
/mnt/data/16062025/16/26/image_16062025_16_27_04_10080.jpg
/mnt/data/16062025/16/26/image_16062025_16_26_54_9950.jpg
/mnt/data/16062025/16/26/image_16062025_16_26_44_9935.jpg
/mnt/data/16062025/16/26/image_16062025_16_26_34_9978.jpg
/mnt/data/16062025/16/26/image_16062025_16_26_24_9923.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376425771","1376425774","1376425753","1376425756","1376425761","1376425767"],"photo_ids_order":["1376425753","1376425756","1376425761","1376425767","1376425771","1376425774"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3bb16d4cfcc338fe77b4e076df157a21.jpg","text":"TemporaryFile(/tmp/multipartBody281026885888381753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907556480,"filename":"image_16062025_16_26_34_9978.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3447d655f9aeba19bc26bf310433ae61.jpg","text":"TemporaryFile(/tmp/multipartBody1745336020395551954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907556480,"filename":"image_16062025_16_26_24_9923.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/807ffb8559479c4941ebca5b6538a198.jpg","text":"TemporaryFile(/tmp/multipartBody5281593853711191086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907556480,"filename":"image_16062025_16_27_14_9976.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e27cf386dc5ce47061630ac23f05dcbc.jpg","text":"TemporaryFile(/tmp/multipartBody576634438803265011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907556480,"filename":"image_16062025_16_27_04_10080.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d2fbc234a7b2c9ff3034a0bc80562780.jpg","text":"TemporaryFile(/tmp/multipartBody8887636259568798865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907556480,"filename":"image_16062025_16_26_54_9950.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1b55c786d6271ca8974cf559fbe46d65.jpg","text":"TemporaryFile(/tmp/multipartBody5313641130102956147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907556480,"filename":"image_16062025_16_26_44_9935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376425761","file1":"1376425756","file0":"1376425753","file4":"1376425771","file5":"1376425774","file3":"1376425767"},"map_files_photo_id_array":[{"photo_id":"1376425774","filename":"file5"},{"photo_id":"1376425761","filename":"file2"},{"photo_id":"1376425771","filename":"file4"},{"photo_id":"1376425756","filename":"file1"},{"photo_id":"1376425753","filename":"file0"},{"photo_id":"1376425767","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376425771":["hashtag1","hashtag2"]},{"1376425774":["hashtag1","hashtag2"]},{"1376425753":["hashtag1","hashtag2"]},{"1376425756":["hashtag1","hashtag2"]},{"1376425761":["hashtag1","hashtag2"]},{"1376425767":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376425771, 1376425774, 1376425753, 1376425756, 1376425761, 1376425767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.26336884498596 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:19:02.765886
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/26/image_16062025_16_26_14_9921.jpg', 2), ('/mnt/data/16062025/16/25/image_16062025_16_26_05_10163.jpg', 2), ('/mnt/data/16062025/16/25/image_16062025_16_25_54_9948.jpg', 2), ('/mnt/data/16062025/16/25/image_16062025_16_25_44_9957.jpg', 2), ('/mnt/data/16062025/16/25/image_16062025_16_25_35_9976.jpg', 2), ('/mnt/data/16062025/16/25/image_16062025_16_25_25_9998.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/26/image_16062025_16_26_14_9921.jpg', '/mnt/data/16062025/16/25/image_16062025_16_26_05_10163.jpg', '/mnt/data/16062025/16/25/image_16062025_16_25_54_9948.jpg', '/mnt/data/16062025/16/25/image_16062025_16_25_44_9957.jpg', '/mnt/data/16062025/16/25/image_16062025_16_25_35_9976.jpg', '/mnt/data/16062025/16/25/image_16062025_16_25_25_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/26/image_16062025_16_26_14_9921.jpg', '/mnt/data/16062025/16/25/image_16062025_16_26_05_10163.jpg', '/mnt/data/16062025/16/25/image_16062025_16_25_54_9948.jpg', '/mnt/data/16062025/16/25/image_16062025_16_25_44_9957.jpg', '/mnt/data/16062025/16/25/image_16062025_16_25_35_9976.jpg', '/mnt/data/16062025/16/25/image_16062025_16_25_25_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/26/image_16062025_16_26_14_9921.jpg
/mnt/data/16062025/16/25/image_16062025_16_26_05_10163.jpg
/mnt/data/16062025/16/25/image_16062025_16_25_54_9948.jpg
/mnt/data/16062025/16/25/image_16062025_16_25_44_9957.jpg
/mnt/data/16062025/16/25/image_16062025_16_25_35_9976.jpg
/mnt/data/16062025/16/25/image_16062025_16_25_25_9998.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376425799","1376425820","1376425802","1376425813","1376425816","1376425818"],"photo_ids_order":["1376425799","1376425802","1376425813","1376425816","1376425818","1376425820"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2731241d487abae10ebf1fd8eb20bcbe.jpg","text":"TemporaryFile(/tmp/multipartBody7616554656780742149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907637125,"filename":"image_16062025_16_26_14_9921.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d413906a27527b4c158358338ba1331d.jpg","text":"TemporaryFile(/tmp/multipartBody9023977446998405737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907637125,"filename":"image_16062025_16_25_25_9998.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ce3deccb087e0da68f5a5af3fb214256.jpg","text":"TemporaryFile(/tmp/multipartBody4127136609145279358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907637125,"filename":"image_16062025_16_26_05_10163.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bfc8d724d04ae24c5dd1d4e738b351c4.jpg","text":"TemporaryFile(/tmp/multipartBody6575302348852865779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907637125,"filename":"image_16062025_16_25_54_9948.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ae03cef147f40202dec983263fea4865.jpg","text":"TemporaryFile(/tmp/multipartBody895158400671730188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907637125,"filename":"image_16062025_16_25_44_9957.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4d36b4b2b61c5e7d22729804f7e7a7a5.jpg","text":"TemporaryFile(/tmp/multipartBody5876670740066949701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907637125,"filename":"image_16062025_16_25_35_9976.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376425813","file1":"1376425802","file0":"1376425799","file4":"1376425818","file5":"1376425820","file3":"1376425816"},"map_files_photo_id_array":[{"photo_id":"1376425820","filename":"file5"},{"photo_id":"1376425813","filename":"file2"},{"photo_id":"1376425818","filename":"file4"},{"photo_id":"1376425802","filename":"file1"},{"photo_id":"1376425799","filename":"file0"},{"photo_id":"1376425816","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376425799":["hashtag1","hashtag2"]},{"1376425820":["hashtag1","hashtag2"]},{"1376425802":["hashtag1","hashtag2"]},{"1376425813":["hashtag1","hashtag2"]},{"1376425816":["hashtag1","hashtag2"]},{"1376425818":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376425799, 1376425820, 1376425802, 1376425813, 1376425816, 1376425818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.54614281654358 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:21:02.780151
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg', '/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg', '/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg
/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg
uploaded 0 photos
time to upload: 31.692174434661865 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:22:03.147603
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg', '/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg', '/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg
/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg
uploaded 0 photos
time to upload: 31.553710222244263 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:23:02.902398
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg', '/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg', '/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg
/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376425914","1376425928","1376425910","1376425924","1376425921","1376425918"],"photo_ids_order":["1376425910","1376425914","1376425918","1376425921","1376425924","1376425928"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c5e4861170eec7ee3171971cdf0480d9.jpg","text":"TemporaryFile(/tmp/multipartBody3738773005500667043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907849190,"filename":"image_16062025_16_25_05_10194.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1a2c8d007a6e536672aa35e678b2e992.jpg","text":"TemporaryFile(/tmp/multipartBody8948430922031971221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907849190,"filename":"image_16062025_16_24_24_10174.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bc98da246845d8a14744b02a3b7b38df.jpg","text":"TemporaryFile(/tmp/multipartBody6483395518785043886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907849190,"filename":"image_16062025_16_25_15_9981.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/da666d274593095de4251f5937bbe6ea.jpg","text":"TemporaryFile(/tmp/multipartBody8170623153656151547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907849190,"filename":"image_16062025_16_24_34_10087.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4419df3d9b3854b4df9088ccc143bed6.jpg","text":"TemporaryFile(/tmp/multipartBody2804859242496925406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907849190,"filename":"image_16062025_16_24_44_10066.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/15cef726a82a9825b1ac17e9e2373f69.jpg","text":"TemporaryFile(/tmp/multipartBody5823666409917764887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907849190,"filename":"image_16062025_16_24_54_10162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376425918","file1":"1376425914","file0":"1376425910","file4":"1376425924","file5":"1376425928","file3":"1376425921"},"map_files_photo_id_array":[{"photo_id":"1376425928","filename":"file5"},{"photo_id":"1376425918","filename":"file2"},{"photo_id":"1376425924","filename":"file4"},{"photo_id":"1376425914","filename":"file1"},{"photo_id":"1376425910","filename":"file0"},{"photo_id":"1376425921","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376425914":["hashtag1","hashtag2"]},{"1376425928":["hashtag1","hashtag2"]},{"1376425910":["hashtag1","hashtag2"]},{"1376425924":["hashtag1","hashtag2"]},{"1376425921":["hashtag1","hashtag2"]},{"1376425918":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376425914, 1376425928, 1376425910, 1376425924, 1376425921, 1376425918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.41606879234314 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:24:03.131451
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/24/image_16062025_16_24_14_9987.jpg', 2), ('/mnt/data/16062025/16/23/image_16062025_16_24_04_9156.jpg', 2), ('/mnt/data/16062025/16/23/image_16062025_16_23_55_10074.jpg', 2), ('/mnt/data/16062025/16/23/image_16062025_16_23_45_10109.jpg', 2), ('/mnt/data/16062025/16/23/image_16062025_16_23_35_10109.jpg', 2), ('/mnt/data/16062025/16/23/image_16062025_16_23_24_10043.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/24/image_16062025_16_24_14_9987.jpg', '/mnt/data/16062025/16/23/image_16062025_16_24_04_9156.jpg', '/mnt/data/16062025/16/23/image_16062025_16_23_55_10074.jpg', '/mnt/data/16062025/16/23/image_16062025_16_23_45_10109.jpg', '/mnt/data/16062025/16/23/image_16062025_16_23_35_10109.jpg', '/mnt/data/16062025/16/23/image_16062025_16_23_24_10043.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/24/image_16062025_16_24_14_9987.jpg', '/mnt/data/16062025/16/23/image_16062025_16_24_04_9156.jpg', '/mnt/data/16062025/16/23/image_16062025_16_23_55_10074.jpg', '/mnt/data/16062025/16/23/image_16062025_16_23_45_10109.jpg', '/mnt/data/16062025/16/23/image_16062025_16_23_35_10109.jpg', '/mnt/data/16062025/16/23/image_16062025_16_23_24_10043.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/24/image_16062025_16_24_14_9987.jpg
/mnt/data/16062025/16/23/image_16062025_16_24_04_9156.jpg
/mnt/data/16062025/16/23/image_16062025_16_23_55_10074.jpg
/mnt/data/16062025/16/23/image_16062025_16_23_45_10109.jpg
/mnt/data/16062025/16/23/image_16062025_16_23_35_10109.jpg
/mnt/data/16062025/16/23/image_16062025_16_23_24_10043.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376425967","1376425960","1376425953","1376425956","1376425965","1376425950"],"photo_ids_order":["1376425950","1376425953","1376425956","1376425960","1376425965","1376425967"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dda74ecacaa9fbe554b8f1e3d05b5598.jpg","text":"TemporaryFile(/tmp/multipartBody2860603649021821203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907931195,"filename":"image_16062025_16_23_24_10043.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/434829eb51d209321700c2de52444bdd.jpg","text":"TemporaryFile(/tmp/multipartBody91726857800123255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907931195,"filename":"image_16062025_16_23_45_10109.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4de90885042fb31edbe1f0b85f48ca8a.jpg","text":"TemporaryFile(/tmp/multipartBody3132810032466218994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907931195,"filename":"image_16062025_16_24_04_9156.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/620e00cd0154f14ca5423269711ed273.jpg","text":"TemporaryFile(/tmp/multipartBody2467893825344432327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907931195,"filename":"image_16062025_16_23_55_10074.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/184c44128dafa58789693522061ca4ca.jpg","text":"TemporaryFile(/tmp/multipartBody2951189691375993485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907931195,"filename":"image_16062025_16_23_35_10109.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2f49bbde9e4f24ece037a3a660cfe6ac.jpg","text":"TemporaryFile(/tmp/multipartBody8735471424524037296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754907931195,"filename":"image_16062025_16_24_14_9987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376425956","file1":"1376425953","file0":"1376425950","file4":"1376425965","file5":"1376425967","file3":"1376425960"},"map_files_photo_id_array":[{"photo_id":"1376425967","filename":"file5"},{"photo_id":"1376425956","filename":"file2"},{"photo_id":"1376425965","filename":"file4"},{"photo_id":"1376425953","filename":"file1"},{"photo_id":"1376425950","filename":"file0"},{"photo_id":"1376425960","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376425967":["hashtag1","hashtag2"]},{"1376425960":["hashtag1","hashtag2"]},{"1376425953":["hashtag1","hashtag2"]},{"1376425956":["hashtag1","hashtag2"]},{"1376425965":["hashtag1","hashtag2"]},{"1376425950":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376425967, 1376425960, 1376425953, 1376425956, 1376425965, 1376425950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.89174556732178 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:26:02.815471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', '/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', '/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg
/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg
uploaded 0 photos
time to upload: 30.360936164855957 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:27:02.924391
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', '/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', '/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg
/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:29:03.232210
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', '/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', '/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg
/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg
uploaded 0 photos
time to upload: 30.36310625076294 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:30:02.944636
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', '/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', '/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg
/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376426165","1376426168","1376426161","1376426179","1376426172","1376426175"],"photo_ids_order":["1376426161","1376426165","1376426168","1376426172","1376426175","1376426179"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c28ae2af5246fa4eea6ab7c14ee11bb0.jpg","text":"TemporaryFile(/tmp/multipartBody4152617866356591809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908289207,"filename":"image_16062025_16_23_04_10253.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c692b76634a8890c2aa4a9bd638a80d5.jpg","text":"TemporaryFile(/tmp/multipartBody5998648175943391646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908289207,"filename":"image_16062025_16_22_44_10143.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f8592e1d7da34c75cc782fb6346e0cbc.jpg","text":"TemporaryFile(/tmp/multipartBody4716021668739213883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908289207,"filename":"image_16062025_16_23_14_10087.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/167aa73533c2e931bfeb3ad17afa1bbc.jpg","text":"TemporaryFile(/tmp/multipartBody2215344954546834150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908289207,"filename":"image_16062025_16_22_15_10099.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b93416b70847da42c4f729833c999b18.jpg","text":"TemporaryFile(/tmp/multipartBody200903234890846632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908289207,"filename":"image_16062025_16_22_34_10074.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/99547927f76a246b75ab34ec00767b66.jpg","text":"TemporaryFile(/tmp/multipartBody4611678010183115073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908289207,"filename":"image_16062025_16_22_24_8917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376426168","file1":"1376426165","file0":"1376426161","file4":"1376426175","file5":"1376426179","file3":"1376426172"},"map_files_photo_id_array":[{"photo_id":"1376426179","filename":"file5"},{"photo_id":"1376426168","filename":"file2"},{"photo_id":"1376426175","filename":"file4"},{"photo_id":"1376426165","filename":"file1"},{"photo_id":"1376426161","filename":"file0"},{"photo_id":"1376426172","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376426165":["hashtag1","hashtag2"]},{"1376426168":["hashtag1","hashtag2"]},{"1376426161":["hashtag1","hashtag2"]},{"1376426179":["hashtag1","hashtag2"]},{"1376426172":["hashtag1","hashtag2"]},{"1376426175":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376426165, 1376426168, 1376426161, 1376426179, 1376426172, 1376426175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.3664321899414 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:32:03.242639
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/21/image_16062025_16_22_05_10404.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_54_10108.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_44_9981.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_34_9899.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_24_9912.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_14_9920.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/21/image_16062025_16_22_05_10404.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_54_10108.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_44_9981.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_34_9899.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_24_9912.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_14_9920.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/21/image_16062025_16_22_05_10404.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_54_10108.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_44_9981.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_34_9899.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_24_9912.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_14_9920.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/21/image_16062025_16_22_05_10404.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_54_10108.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_44_9981.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_34_9899.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_24_9912.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_14_9920.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 5.373113632202148 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:33:03.240583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/21/image_16062025_16_22_05_10404.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_54_10108.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_44_9981.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_34_9899.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_24_9912.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_14_9920.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/21/image_16062025_16_22_05_10404.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_54_10108.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_44_9981.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_34_9899.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_24_9912.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_14_9920.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/21/image_16062025_16_22_05_10404.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_54_10108.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_44_9981.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_34_9899.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_24_9912.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_14_9920.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/21/image_16062025_16_22_05_10404.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_54_10108.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_44_9981.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_34_9899.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_24_9912.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_14_9920.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376426257","1376426251","1376426265","1376426268","1376426253","1376426262"],"photo_ids_order":["1376426251","1376426253","1376426257","1376426262","1376426265","1376426268"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/07935474326856cb1341569b40d63162.jpg","text":"TemporaryFile(/tmp/multipartBody1103350960028414796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908455965,"filename":"image_16062025_16_21_44_9981.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/55a5778c73301eccc7a448bb127dabbb.jpg","text":"TemporaryFile(/tmp/multipartBody2451842173446730527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908455965,"filename":"image_16062025_16_22_05_10404.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7767d02215b2778ef9998a0d8062055a.jpg","text":"TemporaryFile(/tmp/multipartBody430714779669520433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908455965,"filename":"image_16062025_16_21_24_9912.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/321f68011190fd1ed1edfe114534ff2c.jpg","text":"TemporaryFile(/tmp/multipartBody576991042722306894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908455965,"filename":"image_16062025_16_21_14_9920.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/311ba4bd5ba7bb679c452f5f5be049fd.jpg","text":"TemporaryFile(/tmp/multipartBody4891046503752152493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908455965,"filename":"image_16062025_16_21_54_10108.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0abe57479020486be520a61e03e58330.jpg","text":"TemporaryFile(/tmp/multipartBody4731962098596609618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908455965,"filename":"image_16062025_16_21_34_9899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376426257","file1":"1376426253","file0":"1376426251","file4":"1376426265","file5":"1376426268","file3":"1376426262"},"map_files_photo_id_array":[{"photo_id":"1376426268","filename":"file5"},{"photo_id":"1376426257","filename":"file2"},{"photo_id":"1376426265","filename":"file4"},{"photo_id":"1376426253","filename":"file1"},{"photo_id":"1376426251","filename":"file0"},{"photo_id":"1376426262","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376426257":["hashtag1","hashtag2"]},{"1376426251":["hashtag1","hashtag2"]},{"1376426265":["hashtag1","hashtag2"]},{"1376426268":["hashtag1","hashtag2"]},{"1376426253":["hashtag1","hashtag2"]},{"1376426262":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376426257, 1376426251, 1376426265, 1376426268, 1376426253, 1376426262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.53970456123352 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:34:02.851722
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/20/image_16062025_16_21_04_10175.jpg', 2), ('/mnt/data/16062025/16/20/image_16062025_16_20_54_9922.jpg', 2), ('/mnt/data/16062025/16/20/image_16062025_16_20_44_9920.jpg', 2), ('/mnt/data/16062025/16/20/image_16062025_16_20_34_9934.jpg', 2), ('/mnt/data/16062025/16/20/image_16062025_16_20_24_9978.jpg', 2), ('/mnt/data/16062025/16/20/image_16062025_16_20_14_10054.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/20/image_16062025_16_21_04_10175.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_54_9922.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_44_9920.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_34_9934.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_24_9978.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_14_10054.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/20/image_16062025_16_21_04_10175.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_54_9922.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_44_9920.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_34_9934.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_24_9978.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_14_10054.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/20/image_16062025_16_21_04_10175.jpg
/mnt/data/16062025/16/20/image_16062025_16_20_54_9922.jpg
/mnt/data/16062025/16/20/image_16062025_16_20_44_9920.jpg
/mnt/data/16062025/16/20/image_16062025_16_20_34_9934.jpg
/mnt/data/16062025/16/20/image_16062025_16_20_24_9978.jpg
/mnt/data/16062025/16/20/image_16062025_16_20_14_10054.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376426285","1376426298","1376426277","1376426292","1376426280","1376426274"],"photo_ids_order":["1376426274","1376426277","1376426280","1376426285","1376426292","1376426298"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2a2aa3f40ac59fde7c9fa895cad200ed.jpg","text":"TemporaryFile(/tmp/multipartBody8111253572319215860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908511561,"filename":"image_16062025_16_20_34_9934.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9cdf51447e6cecffff5c5ce1ef4a307f.jpg","text":"TemporaryFile(/tmp/multipartBody2209979810205099844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908511561,"filename":"image_16062025_16_20_14_10054.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5838957c75736c6ffa31cfbab3d357fe.jpg","text":"TemporaryFile(/tmp/multipartBody2156923557343697729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908511561,"filename":"image_16062025_16_20_54_9922.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5eebca6c1d05a88b159b0874ad3459e5.jpg","text":"TemporaryFile(/tmp/multipartBody1586732527045780778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908511561,"filename":"image_16062025_16_20_24_9978.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/740f88e8e0443e79ee65bdc0d0395c75.jpg","text":"TemporaryFile(/tmp/multipartBody3044620722456176478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908511561,"filename":"image_16062025_16_20_44_9920.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/38939f7fea89af469fb121ccb779fa80.jpg","text":"TemporaryFile(/tmp/multipartBody2495021969001566923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908511561,"filename":"image_16062025_16_21_04_10175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376426280","file1":"1376426277","file0":"1376426274","file4":"1376426292","file5":"1376426298","file3":"1376426285"},"map_files_photo_id_array":[{"photo_id":"1376426298","filename":"file5"},{"photo_id":"1376426280","filename":"file2"},{"photo_id":"1376426292","filename":"file4"},{"photo_id":"1376426277","filename":"file1"},{"photo_id":"1376426274","filename":"file0"},{"photo_id":"1376426285","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376426285":["hashtag1","hashtag2"]},{"1376426298":["hashtag1","hashtag2"]},{"1376426277":["hashtag1","hashtag2"]},{"1376426292":["hashtag1","hashtag2"]},{"1376426280":["hashtag1","hashtag2"]},{"1376426274":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376426285, 1376426298, 1376426277, 1376426292, 1376426280, 1376426274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.02173471450806 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:35:02.908574
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/17/image_16062025_16_18_04_9206.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/17/image_16062025_16_18_04_9206.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/17/image_16062025_16_18_04_9206.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/17/image_16062025_16_18_04_9206.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.0401132106781 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:38:02.435887
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/17/image_16062025_16_18_04_9206.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/17/image_16062025_16_18_04_9206.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/17/image_16062025_16_18_04_9206.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/17/image_16062025_16_18_04_9206.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376427352","1376427363","1376427357","1376427339","1376427348","1376427344"],"photo_ids_order":["1376427339","1376427344","1376427348","1376427352","1376427357","1376427363"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0d914eeaa8afe078324493b0352c70cb.jpg","text":"TemporaryFile(/tmp/multipartBody1188992607608287214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908766143,"filename":"image_16062025_16_17_34_10024.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/00e94a72cc7d53bd8847aca0e7184840.jpg","text":"TemporaryFile(/tmp/multipartBody805679380488143229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908766143,"filename":"image_16062025_16_17_15_10250.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/55c0dbc99d70cd0066f4925649a90230.jpg","text":"TemporaryFile(/tmp/multipartBody6251302721413674633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908766143,"filename":"image_16062025_16_17_24_8869.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e7edaba390387d3f86b70c83d4ed23f8.jpg","text":"TemporaryFile(/tmp/multipartBody7042691635697446747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908766143,"filename":"image_16062025_16_18_04_9206.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/91aaefba068b80458ca448aa258b35b0.jpg","text":"TemporaryFile(/tmp/multipartBody1197516953895309956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908766143,"filename":"image_16062025_16_17_44_9960.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/791f20c75ab6d8648879f143e84f5f12.jpg","text":"TemporaryFile(/tmp/multipartBody5986525811328935342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754908766143,"filename":"image_16062025_16_17_55_11142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376427348","file1":"1376427344","file0":"1376427339","file4":"1376427357","file5":"1376427363","file3":"1376427352"},"map_files_photo_id_array":[{"photo_id":"1376427363","filename":"file5"},{"photo_id":"1376427348","filename":"file2"},{"photo_id":"1376427357","filename":"file4"},{"photo_id":"1376427344","filename":"file1"},{"photo_id":"1376427339","filename":"file0"},{"photo_id":"1376427352","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376427352":["hashtag1","hashtag2"]},{"1376427363":["hashtag1","hashtag2"]},{"1376427357":["hashtag1","hashtag2"]},{"1376427339":["hashtag1","hashtag2"]},{"1376427348":["hashtag1","hashtag2"]},{"1376427344":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376427352, 1376427363, 1376427357, 1376427339, 1376427348, 1376427344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.627792835235596 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:40:02.636945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.384526014328003 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:41:02.680506
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.307720184326172 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:42:02.421810
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.325566291809082 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:43:03.395418
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.309486389160156 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:44:03.405189
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.30582880973816 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:45:03.374833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.345139026641846 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:46:03.044205
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.297009706497192 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:47:02.964067
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.3280348777771 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:48:02.749193
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.29904794692993 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:49:02.942258
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.31403136253357 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:50:02.228506
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.299885988235474 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:51:03.519232
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.328324794769287 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:52:03.126283
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 146.20900750160217 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:55:02.581551
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.315916538238525 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:56:02.472864
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
uploaded 0 photos
time to upload: 30.292089462280273 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:57:03.274059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 12:59:02.847766
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376429997","1376429679","1376429928","1376430100","1376429777","1376429869"],"photo_ids_order":["1376429679","1376429777","1376429869","1376429928","1376429997","1376430100"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4c5a3e0ad571d061d15885c704bc16f9.jpg","text":"TemporaryFile(/tmp/multipartBody7178359622444423082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910020177,"filename":"image_16062025_16_16_25_10147.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/63d578824b6d39d62f8aeba18d0b20b8.jpg","text":"TemporaryFile(/tmp/multipartBody4452598684505942244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910020177,"filename":"image_16062025_16_17_05_10427.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/511098d8dfe68400e81e635911682599.jpg","text":"TemporaryFile(/tmp/multipartBody5395948356171510027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910020177,"filename":"image_16062025_16_16_34_9029.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ac63d96588e98113695889720f081488.jpg","text":"TemporaryFile(/tmp/multipartBody8192955639716240705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910020177,"filename":"image_16062025_16_16_15_10176.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ca859b1598e95162e323ea908f825722.jpg","text":"TemporaryFile(/tmp/multipartBody5108107735721431080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910020177,"filename":"image_16062025_16_16_54_10201.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b16850d1fba40c3543db99e812f71cee.jpg","text":"TemporaryFile(/tmp/multipartBody7418526181027142739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910020177,"filename":"image_16062025_16_16_44_10166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376429869","file1":"1376429777","file0":"1376429679","file4":"1376429997","file5":"1376430100","file3":"1376429928"},"map_files_photo_id_array":[{"photo_id":"1376430100","filename":"file5"},{"photo_id":"1376429869","filename":"file2"},{"photo_id":"1376429997","filename":"file4"},{"photo_id":"1376429777","filename":"file1"},{"photo_id":"1376429679","filename":"file0"},{"photo_id":"1376429928","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376429997":["hashtag1","hashtag2"]},{"1376429679":["hashtag1","hashtag2"]},{"1376429928":["hashtag1","hashtag2"]},{"1376430100":["hashtag1","hashtag2"]},{"1376429777":["hashtag1","hashtag2"]},{"1376429869":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376429997, 1376429679, 1376429928, 1376430100, 1376429777, 1376429869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.13262343406677 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:01:03.387051
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 29.203686475753784 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:02:02.840579
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 145.8691942691803 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:05:02.711933
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 150.26200556755066 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:08:02.446292
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376432406","1376432294","1376432347","1376432260","1376432461","1376432245"],"photo_ids_order":["1376432245","1376432260","1376432294","1376432347","1376432406","1376432461"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dcb6341a901fe5ffb5bad2f56423d588.jpg","text":"TemporaryFile(/tmp/multipartBody1918599444160491192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910571545,"filename":"image_16062025_16_15_25_10122.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d04fac8139f50e19ae20cbe739a035f9.jpg","text":"TemporaryFile(/tmp/multipartBody5694668892040236669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910571545,"filename":"image_16062025_16_15_44_8990.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/14b4ee2dc9f59c983db53b9f2c5fbe9c.jpg","text":"TemporaryFile(/tmp/multipartBody779454148374600867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910571545,"filename":"image_16062025_16_15_35_10131.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/afdf8b7a3e799cc5154892478d0b31a0.jpg","text":"TemporaryFile(/tmp/multipartBody3615185889874017221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910571545,"filename":"image_16062025_16_15_54_10231.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3a9ac5026e299de0920ed91bd4c18b78.jpg","text":"TemporaryFile(/tmp/multipartBody7353759088585532382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910571545,"filename":"image_16062025_16_15_15_10005.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f2f2f56e06073f393bcdbf95cb108950.jpg","text":"TemporaryFile(/tmp/multipartBody1467135786262551838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910571545,"filename":"image_16062025_16_16_04_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376432294","file1":"1376432260","file0":"1376432245","file4":"1376432406","file5":"1376432461","file3":"1376432347"},"map_files_photo_id_array":[{"photo_id":"1376432461","filename":"file5"},{"photo_id":"1376432294","filename":"file2"},{"photo_id":"1376432406","filename":"file4"},{"photo_id":"1376432260","filename":"file1"},{"photo_id":"1376432245","filename":"file0"},{"photo_id":"1376432347","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376432406":["hashtag1","hashtag2"]},{"1376432294":["hashtag1","hashtag2"]},{"1376432347":["hashtag1","hashtag2"]},{"1376432260":["hashtag1","hashtag2"]},{"1376432461":["hashtag1","hashtag2"]},{"1376432245":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376432406, 1376432294, 1376432347, 1376432260, 1376432461, 1376432245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.54851984977722 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:10:02.948370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/14/image_16062025_16_15_05_10508.jpg', 2), ('/mnt/data/16062025/16/14/image_16062025_16_14_54_10202.jpg', 2), ('/mnt/data/16062025/16/14/image_16062025_16_14_44_8934.jpg', 2), ('/mnt/data/16062025/16/14/image_16062025_16_14_35_11154.jpg', 2), ('/mnt/data/16062025/16/14/image_16062025_16_14_24_10046.jpg', 2), ('/mnt/data/16062025/16/14/image_16062025_16_14_14_9945.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/14/image_16062025_16_15_05_10508.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_54_10202.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_44_8934.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_35_11154.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_24_10046.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_14_9945.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/14/image_16062025_16_15_05_10508.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_54_10202.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_44_8934.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_35_11154.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_24_10046.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_14_9945.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/14/image_16062025_16_15_05_10508.jpg
/mnt/data/16062025/16/14/image_16062025_16_14_54_10202.jpg
/mnt/data/16062025/16/14/image_16062025_16_14_44_8934.jpg
/mnt/data/16062025/16/14/image_16062025_16_14_35_11154.jpg
/mnt/data/16062025/16/14/image_16062025_16_14_24_10046.jpg
/mnt/data/16062025/16/14/image_16062025_16_14_14_9945.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376432990","1376432819","1376432956","1376433036","1376433015","1376432889"],"photo_ids_order":["1376432819","1376432889","1376432956","1376432990","1376433015","1376433036"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ed944bbf84e1e66044988d62e0079162.jpg","text":"TemporaryFile(/tmp/multipartBody982172253528119964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910686390,"filename":"image_16062025_16_14_35_11154.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ee5b1aafafd0cbebbf17ae98d29c5af0.jpg","text":"TemporaryFile(/tmp/multipartBody6620135237921522822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910686390,"filename":"image_16062025_16_15_05_10508.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/863770f9f38fb6370f400d9605395cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3148019752861648904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910686390,"filename":"image_16062025_16_14_44_8934.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a1a4fd90d614fa3ed07810bf4dcc03f7.jpg","text":"TemporaryFile(/tmp/multipartBody7418860006120300347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910686390,"filename":"image_16062025_16_14_14_9945.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8e3fbe07d9294c28535b1bdd26d06bd2.jpg","text":"TemporaryFile(/tmp/multipartBody568287643838549364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910686390,"filename":"image_16062025_16_14_24_10046.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/10400c0eeb6b8fbac4a31598d8db03fa.jpg","text":"TemporaryFile(/tmp/multipartBody1964108338464858230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754910686390,"filename":"image_16062025_16_14_54_10202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376432956","file1":"1376432889","file0":"1376432819","file4":"1376433015","file5":"1376433036","file3":"1376432990"},"map_files_photo_id_array":[{"photo_id":"1376433036","filename":"file5"},{"photo_id":"1376432956","filename":"file2"},{"photo_id":"1376433015","filename":"file4"},{"photo_id":"1376432889","filename":"file1"},{"photo_id":"1376432819","filename":"file0"},{"photo_id":"1376432990","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376432990":["hashtag1","hashtag2"]},{"1376432819":["hashtag1","hashtag2"]},{"1376432956":["hashtag1","hashtag2"]},{"1376433036":["hashtag1","hashtag2"]},{"1376433015":["hashtag1","hashtag2"]},{"1376432889":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376432990, 1376432819, 1376432956, 1376433036, 1376433015, 1376432889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.00245213508606 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:12:03.386908
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.0452597141266 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:15:02.732701
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 131.11446404457092 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:18:02.591468
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg
uploaded 0 photos
time to upload: 30.308860778808594 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:19:02.754998
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376434253","1376434266","1376434251","1376434269","1376434257","1376434262"],"photo_ids_order":["1376434251","1376434253","1376434257","1376434262","1376434266","1376434269"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c6ec077966c5ab3407690b068c7bf283.jpg","text":"TemporaryFile(/tmp/multipartBody418266867718290523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911214889,"filename":"image_16062025_16_13_55_9970.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/db2da9d0335b7152d36e96e9e293700a.jpg","text":"TemporaryFile(/tmp/multipartBody468961672451387470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911214889,"filename":"image_16062025_16_13_25_9924.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0ae6964332d21893ec80ce1086ea2266.jpg","text":"TemporaryFile(/tmp/multipartBody2537520412382156023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911214889,"filename":"image_16062025_16_14_04_9116.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e66440c042b206f77f59a03d6f417145.jpg","text":"TemporaryFile(/tmp/multipartBody4091592406427074100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911214889,"filename":"image_16062025_16_13_15_11135.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5838acdfa911f8c33e278e1c7b2c8aa7.jpg","text":"TemporaryFile(/tmp/multipartBody3139126455966312643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911214889,"filename":"image_16062025_16_13_45_9967.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1b293f724d35e0d8b3a7eee8cc47b42d.jpg","text":"TemporaryFile(/tmp/multipartBody1495278693960655244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911214889,"filename":"image_16062025_16_13_35_9903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376434257","file1":"1376434253","file0":"1376434251","file4":"1376434266","file5":"1376434269","file3":"1376434262"},"map_files_photo_id_array":[{"photo_id":"1376434269","filename":"file5"},{"photo_id":"1376434257","filename":"file2"},{"photo_id":"1376434266","filename":"file4"},{"photo_id":"1376434253","filename":"file1"},{"photo_id":"1376434251","filename":"file0"},{"photo_id":"1376434262","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376434253":["hashtag1","hashtag2"]},{"1376434266":["hashtag1","hashtag2"]},{"1376434251":["hashtag1","hashtag2"]},{"1376434269":["hashtag1","hashtag2"]},{"1376434257":["hashtag1","hashtag2"]},{"1376434262":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376434253, 1376434266, 1376434251, 1376434269, 1376434257, 1376434262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.88496685028076 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:20:02.543293
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/12/image_16062025_16_13_04_9018.jpg', 2), ('/mnt/data/16062025/16/12/image_16062025_16_12_55_9977.jpg', 2), ('/mnt/data/16062025/16/12/image_16062025_16_12_45_9940.jpg', 2), ('/mnt/data/16062025/16/12/image_16062025_16_12_35_9966.jpg', 2), ('/mnt/data/16062025/16/12/image_16062025_16_12_25_10124.jpg', 2), ('/mnt/data/16062025/16/12/image_16062025_16_12_15_9950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/12/image_16062025_16_13_04_9018.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_55_9977.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_45_9940.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_35_9966.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_25_10124.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_15_9950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/12/image_16062025_16_13_04_9018.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_55_9977.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_45_9940.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_35_9966.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_25_10124.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_15_9950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/12/image_16062025_16_13_04_9018.jpg
/mnt/data/16062025/16/12/image_16062025_16_12_55_9977.jpg
/mnt/data/16062025/16/12/image_16062025_16_12_45_9940.jpg
/mnt/data/16062025/16/12/image_16062025_16_12_35_9966.jpg
/mnt/data/16062025/16/12/image_16062025_16_12_25_10124.jpg
/mnt/data/16062025/16/12/image_16062025_16_12_15_9950.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376434307","1376434318","1376434303","1376434312","1376434315","1376434300"],"photo_ids_order":["1376434300","1376434303","1376434307","1376434312","1376434315","1376434318"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1c5214ab3e1cf0ec40d228643fd37da3.jpg","text":"TemporaryFile(/tmp/multipartBody2978254496172831395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911275884,"filename":"image_16062025_16_12_45_9940.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/754e6b931d10234c4380330e268bffb5.jpg","text":"TemporaryFile(/tmp/multipartBody3993200764241727436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911275884,"filename":"image_16062025_16_12_15_9950.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e96613bc25158a08e8d6cebd794f27ae.jpg","text":"TemporaryFile(/tmp/multipartBody6200591149489782467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911275884,"filename":"image_16062025_16_12_55_9977.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/22b7c61949587a9db1452d0c71c72395.jpg","text":"TemporaryFile(/tmp/multipartBody3188333387343000016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911275884,"filename":"image_16062025_16_12_35_9966.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3b2e16cde648fbd5ca0dac0615919d5d.jpg","text":"TemporaryFile(/tmp/multipartBody8373398349541085447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911275884,"filename":"image_16062025_16_12_25_10124.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/20dd133a5a25e5b71441c1761dae946a.jpg","text":"TemporaryFile(/tmp/multipartBody850156508310945819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911275884,"filename":"image_16062025_16_13_04_9018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376434307","file1":"1376434303","file0":"1376434300","file4":"1376434315","file5":"1376434318","file3":"1376434312"},"map_files_photo_id_array":[{"photo_id":"1376434318","filename":"file5"},{"photo_id":"1376434307","filename":"file2"},{"photo_id":"1376434315","filename":"file4"},{"photo_id":"1376434303","filename":"file1"},{"photo_id":"1376434300","filename":"file0"},{"photo_id":"1376434312","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376434307":["hashtag1","hashtag2"]},{"1376434318":["hashtag1","hashtag2"]},{"1376434303":["hashtag1","hashtag2"]},{"1376434312":["hashtag1","hashtag2"]},{"1376434315":["hashtag1","hashtag2"]},{"1376434300":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376434307, 1376434318, 1376434303, 1376434312, 1376434315, 1376434300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.37555432319641 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:21:03.258235
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/11/image_16062025_16_12_05_10073.jpg', 2), ('/mnt/data/16062025/16/11/image_16062025_16_11_55_9989.jpg', 2), ('/mnt/data/16062025/16/11/image_16062025_16_11_45_10088.jpg', 2), ('/mnt/data/16062025/16/11/image_16062025_16_11_35_9990.jpg', 2), ('/mnt/data/16062025/16/11/image_16062025_16_11_25_10123.jpg', 2), ('/mnt/data/16062025/16/11/image_16062025_16_11_14_10287.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/11/image_16062025_16_12_05_10073.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_55_9989.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_45_10088.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_35_9990.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_25_10123.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_14_10287.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/11/image_16062025_16_12_05_10073.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_55_9989.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_45_10088.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_35_9990.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_25_10123.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_14_10287.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/11/image_16062025_16_12_05_10073.jpg
/mnt/data/16062025/16/11/image_16062025_16_11_55_9989.jpg
/mnt/data/16062025/16/11/image_16062025_16_11_45_10088.jpg
/mnt/data/16062025/16/11/image_16062025_16_11_35_9990.jpg
/mnt/data/16062025/16/11/image_16062025_16_11_25_10123.jpg
/mnt/data/16062025/16/11/image_16062025_16_11_14_10287.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376434339","1376434333","1376434362","1376434335","1376434344","1376434355"],"photo_ids_order":["1376434333","1376434335","1376434339","1376434344","1376434355","1376434362"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/057e4dabb45a87a69be25f6e06d91d6b.jpg","text":"TemporaryFile(/tmp/multipartBody5545814340235071669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911335020,"filename":"image_16062025_16_11_45_10088.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0d7142ceb9aad6c536ca300aec04a65e.jpg","text":"TemporaryFile(/tmp/multipartBody2716428502823840219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911335020,"filename":"image_16062025_16_12_05_10073.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a6d7b112e1174080bcf5b4f4caa4ace9.jpg","text":"TemporaryFile(/tmp/multipartBody8959776352209493508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911335020,"filename":"image_16062025_16_11_14_10287.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/706f5849aec32b1194f8f45f6d2165f6.jpg","text":"TemporaryFile(/tmp/multipartBody2198562886764207265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911335020,"filename":"image_16062025_16_11_55_9989.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f0a161f5138f55ec0f7ae67ad2cae836.jpg","text":"TemporaryFile(/tmp/multipartBody6863857863648064531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911335020,"filename":"image_16062025_16_11_35_9990.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/973e72f6abc8fe36f28a6a170ef33abe.jpg","text":"TemporaryFile(/tmp/multipartBody1629523948497014913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911335020,"filename":"image_16062025_16_11_25_10123.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376434339","file1":"1376434335","file0":"1376434333","file4":"1376434355","file5":"1376434362","file3":"1376434344"},"map_files_photo_id_array":[{"photo_id":"1376434362","filename":"file5"},{"photo_id":"1376434339","filename":"file2"},{"photo_id":"1376434355","filename":"file4"},{"photo_id":"1376434335","filename":"file1"},{"photo_id":"1376434333","filename":"file0"},{"photo_id":"1376434344","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376434339":["hashtag1","hashtag2"]},{"1376434333":["hashtag1","hashtag2"]},{"1376434362":["hashtag1","hashtag2"]},{"1376434335":["hashtag1","hashtag2"]},{"1376434344":["hashtag1","hashtag2"]},{"1376434355":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376434339, 1376434333, 1376434362, 1376434335, 1376434344, 1376434355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.298598289489746 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:22:02.997884
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg
uploaded 0 photos
time to upload: 19.518847703933716 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:23:02.938209
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg
uploaded 0 photos
time to upload: 31.319539308547974 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:24:03.189959
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 27.441993713378906 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:25:03.304306
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg
uploaded 0 photos
time to upload: 30.332359790802002 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:26:03.245352
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376434628","1376434603","1376434674","1376434632","1376434611","1376434673"],"photo_ids_order":["1376434603","1376434611","1376434628","1376434632","1376434673","1376434674"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/81e0d0c8353b0175095e1c46a237e805.jpg","text":"TemporaryFile(/tmp/multipartBody6010283687933758521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911647072,"filename":"image_16062025_16_10_45_10135.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cb159e3e3ff660a71d56303b7a230f86.jpg","text":"TemporaryFile(/tmp/multipartBody5070191308931678074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911647072,"filename":"image_16062025_16_11_04_10287.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/231eff35945c5ba90ed69e95e0d8c5e3.jpg","text":"TemporaryFile(/tmp/multipartBody7553847797761346310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911647072,"filename":"image_16062025_16_10_14_10283.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/92e4ad1a697cbf55a2c257b13220e98f.jpg","text":"TemporaryFile(/tmp/multipartBody6465421504884500873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911647072,"filename":"image_16062025_16_10_35_10242.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dd51f57ff6f1a234c2d793eb26b13dc4.jpg","text":"TemporaryFile(/tmp/multipartBody2956482729381998529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911647072,"filename":"image_16062025_16_10_54_9014.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7346261375cb6d3e6bf73ea4835d63af.jpg","text":"TemporaryFile(/tmp/multipartBody7833037320788680761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754911647072,"filename":"image_16062025_16_10_24_10226.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376434628","file1":"1376434611","file0":"1376434603","file4":"1376434673","file5":"1376434674","file3":"1376434632"},"map_files_photo_id_array":[{"photo_id":"1376434674","filename":"file5"},{"photo_id":"1376434628","filename":"file2"},{"photo_id":"1376434673","filename":"file4"},{"photo_id":"1376434611","filename":"file1"},{"photo_id":"1376434603","filename":"file0"},{"photo_id":"1376434632","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376434628":["hashtag1","hashtag2"]},{"1376434603":["hashtag1","hashtag2"]},{"1376434674":["hashtag1","hashtag2"]},{"1376434632":["hashtag1","hashtag2"]},{"1376434611":["hashtag1","hashtag2"]},{"1376434673":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376434628, 1376434603, 1376434674, 1376434632, 1376434611, 1376434673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.1451940536499 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:28:03.327367
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg
uploaded 0 photos
time to upload: 31.396716833114624 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:29:03.449888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg
uploaded 0 photos
time to upload: 30.305625200271606 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:30:03.051178
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 145.88173389434814 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:33:03.103310
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg
uploaded 0 photos
time to upload: 30.345433473587036 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:34:03.024438
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg
uploaded 0 photos
time to upload: 30.30819272994995 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:35:03.014014
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 136.67975449562073 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:38:02.915906
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg
uploaded 0 photos
time to upload: 30.312702894210815 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:39:02.953507
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg
uploaded 0 photos
time to upload: 30.311593055725098 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:40:02.483433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg
uploaded 0 photos
time to upload: 30.55674171447754 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:41:02.660664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg
uploaded 0 photos
time to upload: 3.7193186283111572 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:42:02.558266
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376436603","1376436606","1376436599","1376436611","1376436595","1376436589"],"photo_ids_order":["1376436589","1376436595","1376436599","1376436603","1376436606","1376436611"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/30ee56d542e85ff949c533bdedb5e583.jpg","text":"TemporaryFile(/tmp/multipartBody2467711441761497027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912600999,"filename":"image_16062025_16_09_34_10152.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/125196c70ae4f4f64cffd42ad205237d.jpg","text":"TemporaryFile(/tmp/multipartBody5269268357101060311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912600999,"filename":"image_16062025_16_09_24_10263.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/82b572c7685fa97c33449ffa9dfa1a2d.jpg","text":"TemporaryFile(/tmp/multipartBody2351898004635477748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912600999,"filename":"image_16062025_16_09_45_10279.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/05a844a44ae1d2b378d3ea4f112643fc.jpg","text":"TemporaryFile(/tmp/multipartBody5504474469667522264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912600999,"filename":"image_16062025_16_09_14_10149.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/aaf4ecd8d4c3bae22b422af70fbadd2b.jpg","text":"TemporaryFile(/tmp/multipartBody3936362944668264168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912600999,"filename":"image_16062025_16_09_55_10211.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/18738b24b69bcefffdbc52f07229b87e.jpg","text":"TemporaryFile(/tmp/multipartBody9208718216982557830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912600999,"filename":"image_16062025_16_10_04_9167.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376436599","file1":"1376436595","file0":"1376436589","file4":"1376436606","file5":"1376436611","file3":"1376436603"},"map_files_photo_id_array":[{"photo_id":"1376436611","filename":"file5"},{"photo_id":"1376436599","filename":"file2"},{"photo_id":"1376436606","filename":"file4"},{"photo_id":"1376436595","filename":"file1"},{"photo_id":"1376436589","filename":"file0"},{"photo_id":"1376436603","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376436603":["hashtag1","hashtag2"]},{"1376436606":["hashtag1","hashtag2"]},{"1376436599":["hashtag1","hashtag2"]},{"1376436611":["hashtag1","hashtag2"]},{"1376436595":["hashtag1","hashtag2"]},{"1376436589":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376436603, 1376436606, 1376436599, 1376436611, 1376436595, 1376436589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.60598969459534 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:43:02.661455
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/08/image_16062025_16_09_04_9059.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_55_10277.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_44_10217.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_34_10198.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_24_10336.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_14_8921.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/08/image_16062025_16_09_04_9059.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_55_10277.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_44_10217.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_34_10198.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_24_10336.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_14_8921.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/08/image_16062025_16_09_04_9059.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_55_10277.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_44_10217.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_34_10198.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_24_10336.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_14_8921.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/08/image_16062025_16_09_04_9059.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_55_10277.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_44_10217.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_34_10198.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_24_10336.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_14_8921.jpg
uploaded 0 photos
time to upload: 30.40734839439392 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:44:02.820238
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/08/image_16062025_16_09_04_9059.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_55_10277.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_44_10217.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_34_10198.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_24_10336.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_14_8921.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/08/image_16062025_16_09_04_9059.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_55_10277.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_44_10217.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_34_10198.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_24_10336.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_14_8921.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/08/image_16062025_16_09_04_9059.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_55_10277.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_44_10217.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_34_10198.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_24_10336.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_14_8921.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/08/image_16062025_16_09_04_9059.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_55_10277.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_44_10217.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_34_10198.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_24_10336.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_14_8921.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376436663","1376436666","1376436651","1376436660","1376436646","1376436655"],"photo_ids_order":["1376436646","1376436651","1376436655","1376436660","1376436663","1376436666"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9a7d7aff73781ed139a7a69f1f67c053.jpg","text":"TemporaryFile(/tmp/multipartBody8534755900367768546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912720536,"filename":"image_16062025_16_08_24_10336.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b084775f402294a82cf5ec283211250b.jpg","text":"TemporaryFile(/tmp/multipartBody472959981271240266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912720536,"filename":"image_16062025_16_08_14_8921.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/167df70c4a7a77a8020ac2c68da33499.jpg","text":"TemporaryFile(/tmp/multipartBody3208635598872472393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912720536,"filename":"image_16062025_16_08_55_10277.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/db16d5aaf4087ecaa25beeb67b3bf317.jpg","text":"TemporaryFile(/tmp/multipartBody7883411353282899599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912720536,"filename":"image_16062025_16_08_34_10198.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5efcac37053f7a0ea58799175e440ffe.jpg","text":"TemporaryFile(/tmp/multipartBody6221685065231848795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912720536,"filename":"image_16062025_16_09_04_9059.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/94060cec7827ce4ed341864ec93d6846.jpg","text":"TemporaryFile(/tmp/multipartBody5950572644923240849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912720536,"filename":"image_16062025_16_08_44_10217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376436655","file1":"1376436651","file0":"1376436646","file4":"1376436663","file5":"1376436666","file3":"1376436660"},"map_files_photo_id_array":[{"photo_id":"1376436666","filename":"file5"},{"photo_id":"1376436655","filename":"file2"},{"photo_id":"1376436663","filename":"file4"},{"photo_id":"1376436651","filename":"file1"},{"photo_id":"1376436646","filename":"file0"},{"photo_id":"1376436660","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376436663":["hashtag1","hashtag2"]},{"1376436666":["hashtag1","hashtag2"]},{"1376436651":["hashtag1","hashtag2"]},{"1376436660":["hashtag1","hashtag2"]},{"1376436646":["hashtag1","hashtag2"]},{"1376436655":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376436663, 1376436666, 1376436651, 1376436660, 1376436646, 1376436655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.617154359817505 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:45:02.601598
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/07/image_16062025_16_08_05_10325.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_54_10329.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_44_10144.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_34_10145.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_24_9024.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_15_10213.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/07/image_16062025_16_08_05_10325.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_54_10329.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_44_10144.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_34_10145.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_24_9024.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_15_10213.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/07/image_16062025_16_08_05_10325.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_54_10329.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_44_10144.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_34_10145.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_24_9024.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_15_10213.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/07/image_16062025_16_08_05_10325.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_54_10329.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_44_10144.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_34_10145.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_24_9024.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_15_10213.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 147.66825032234192 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:48:02.560662
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/07/image_16062025_16_08_05_10325.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_54_10329.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_44_10144.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_34_10145.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_24_9024.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_15_10213.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/07/image_16062025_16_08_05_10325.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_54_10329.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_44_10144.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_34_10145.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_24_9024.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_15_10213.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/07/image_16062025_16_08_05_10325.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_54_10329.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_44_10144.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_34_10145.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_24_9024.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_15_10213.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/07/image_16062025_16_08_05_10325.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_54_10329.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_44_10144.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_34_10145.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_24_9024.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_15_10213.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376436811","1376436798","1376436801","1376436818","1376436806","1376436796"],"photo_ids_order":["1376436796","1376436798","1376436801","1376436806","1376436811","1376436818"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8d10851d6b6f570c915f6bd437432440.jpg","text":"TemporaryFile(/tmp/multipartBody1421129034091269701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912971209,"filename":"image_16062025_16_07_24_9024.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/19db91399d0bffef146358e88d946ba1.jpg","text":"TemporaryFile(/tmp/multipartBody6295962861221125971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912971209,"filename":"image_16062025_16_07_54_10329.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/15ccd8d8f99a52e9a648894542d4605a.jpg","text":"TemporaryFile(/tmp/multipartBody8964953779038221402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912971209,"filename":"image_16062025_16_07_44_10144.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6643b247cace5e4dd0de8dc353699933.jpg","text":"TemporaryFile(/tmp/multipartBody106496271924369589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912971209,"filename":"image_16062025_16_07_15_10213.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/289bdc2d8b0aa45f1c5c4b36f89ce26a.jpg","text":"TemporaryFile(/tmp/multipartBody7494527428636697251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912971209,"filename":"image_16062025_16_07_34_10145.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/268cb41cda7babfb62ec4a1a2c0d99d5.jpg","text":"TemporaryFile(/tmp/multipartBody9181188625086013931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754912971209,"filename":"image_16062025_16_08_05_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376436801","file1":"1376436798","file0":"1376436796","file4":"1376436811","file5":"1376436818","file3":"1376436806"},"map_files_photo_id_array":[{"photo_id":"1376436818","filename":"file5"},{"photo_id":"1376436801","filename":"file2"},{"photo_id":"1376436811","filename":"file4"},{"photo_id":"1376436798","filename":"file1"},{"photo_id":"1376436796","filename":"file0"},{"photo_id":"1376436806","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376436811":["hashtag1","hashtag2"]},{"1376436798":["hashtag1","hashtag2"]},{"1376436801":["hashtag1","hashtag2"]},{"1376436818":["hashtag1","hashtag2"]},{"1376436806":["hashtag1","hashtag2"]},{"1376436796":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376436811, 1376436798, 1376436801, 1376436818, 1376436806, 1376436796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.06811594963074 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:50:02.742795
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/06/image_16062025_16_07_05_10408.jpg', 2), ('/mnt/data/16062025/16/06/image_16062025_16_06_54_10089.jpg', 2), ('/mnt/data/16062025/16/06/image_16062025_16_06_44_10219.jpg', 2), ('/mnt/data/16062025/16/06/image_16062025_16_06_34_10141.jpg', 2), ('/mnt/data/16062025/16/06/image_16062025_16_06_24_8921.jpg', 2), ('/mnt/data/16062025/16/06/image_16062025_16_06_15_10120.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/06/image_16062025_16_07_05_10408.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_54_10089.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_44_10219.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_34_10141.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_24_8921.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_15_10120.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/06/image_16062025_16_07_05_10408.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_54_10089.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_44_10219.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_34_10141.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_24_8921.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_15_10120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/06/image_16062025_16_07_05_10408.jpg
/mnt/data/16062025/16/06/image_16062025_16_06_54_10089.jpg
/mnt/data/16062025/16/06/image_16062025_16_06_44_10219.jpg
/mnt/data/16062025/16/06/image_16062025_16_06_34_10141.jpg
/mnt/data/16062025/16/06/image_16062025_16_06_24_8921.jpg
/mnt/data/16062025/16/06/image_16062025_16_06_15_10120.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376436957","1376436971","1376436953","1376436961","1376436964","1376436967"],"photo_ids_order":["1376436953","1376436957","1376436961","1376436964","1376436967","1376436971"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d549da88b15ef9e9352f0173218664ae.jpg","text":"TemporaryFile(/tmp/multipartBody8264532726122914032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913087274,"filename":"image_16062025_16_06_54_10089.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a2a990e19e1fcc0a727872a3a0f66693.jpg","text":"TemporaryFile(/tmp/multipartBody1858257947581266467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913087274,"filename":"image_16062025_16_06_15_10120.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/20c260f887013ec47d4d860575c94c31.jpg","text":"TemporaryFile(/tmp/multipartBody2703216534891652614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913087274,"filename":"image_16062025_16_07_05_10408.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/91a8631ed2224b46d064cf999b51afc9.jpg","text":"TemporaryFile(/tmp/multipartBody7484248751455287867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913087274,"filename":"image_16062025_16_06_44_10219.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/be7a0ca32b61b43398e69573fea57822.jpg","text":"TemporaryFile(/tmp/multipartBody5146887460819728805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913087274,"filename":"image_16062025_16_06_34_10141.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ec920effc113f63a6340be592f2f47f5.jpg","text":"TemporaryFile(/tmp/multipartBody6691191396209400020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913087274,"filename":"image_16062025_16_06_24_8921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376436961","file1":"1376436957","file0":"1376436953","file4":"1376436967","file5":"1376436971","file3":"1376436964"},"map_files_photo_id_array":[{"photo_id":"1376436971","filename":"file5"},{"photo_id":"1376436961","filename":"file2"},{"photo_id":"1376436967","filename":"file4"},{"photo_id":"1376436957","filename":"file1"},{"photo_id":"1376436953","filename":"file0"},{"photo_id":"1376436964","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376436957":["hashtag1","hashtag2"]},{"1376436971":["hashtag1","hashtag2"]},{"1376436953":["hashtag1","hashtag2"]},{"1376436961":["hashtag1","hashtag2"]},{"1376436964":["hashtag1","hashtag2"]},{"1376436967":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376436957, 1376436971, 1376436953, 1376436961, 1376436964, 1376436967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.383953332901 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:52:03.078354
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 135.63148093223572 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:55:03.128336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 141.73257994651794 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 13:59:03.062255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376438142","1376438025","1376437946","1376438092","1376438056","1376437993"],"photo_ids_order":["1376437946","1376437993","1376438025","1376438056","1376438092","1376438142"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/110e0e3b18dcff3713c7381ad2abcba7.jpg","text":"TemporaryFile(/tmp/multipartBody3503073137393317357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913622613,"filename":"image_16062025_16_05_14_9955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0678f2c5b4e118d6df08b77196a06b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8965767792702619490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913622613,"filename":"image_16062025_16_05_45_10115.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/049e16a955dc05b4bbdca822e71d6600.jpg","text":"TemporaryFile(/tmp/multipartBody8948228635318418945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913622613,"filename":"image_16062025_16_06_05_10004.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/71cd809118acae593ab1c5d1e028bf18.jpg","text":"TemporaryFile(/tmp/multipartBody2349883462773558291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913622613,"filename":"image_16062025_16_05_24_10021.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/92cf8f40b9fa688e662d9f1652419713.jpg","text":"TemporaryFile(/tmp/multipartBody7299472293076760926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913622613,"filename":"image_16062025_16_05_34_10063.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c04bcfde0275e7757ad80b67514f6e5d.jpg","text":"TemporaryFile(/tmp/multipartBody2072970803351946629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913622613,"filename":"image_16062025_16_05_55_10027.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376438025","file1":"1376437993","file0":"1376437946","file4":"1376438092","file5":"1376438142","file3":"1376438056"},"map_files_photo_id_array":[{"photo_id":"1376438142","filename":"file5"},{"photo_id":"1376438025","filename":"file2"},{"photo_id":"1376438092","filename":"file4"},{"photo_id":"1376437993","filename":"file1"},{"photo_id":"1376437946","filename":"file0"},{"photo_id":"1376438056","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376438142":["hashtag1","hashtag2"]},{"1376438025":["hashtag1","hashtag2"]},{"1376437946":["hashtag1","hashtag2"]},{"1376438092":["hashtag1","hashtag2"]},{"1376438056":["hashtag1","hashtag2"]},{"1376437993":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376438142, 1376438025, 1376437946, 1376438092, 1376438056, 1376437993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.30241775512695 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:01:03.546488
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/04/image_16062025_16_05_04_10031.jpg', 2), ('/mnt/data/16062025/16/04/image_16062025_16_04_54_9965.jpg', 2), ('/mnt/data/16062025/16/04/image_16062025_16_04_44_9946.jpg', 2), ('/mnt/data/16062025/16/04/image_16062025_16_04_34_9949.jpg', 2), ('/mnt/data/16062025/16/04/image_16062025_16_04_25_10074.jpg', 2), ('/mnt/data/16062025/16/03/image_16062025_16_03_44_10102.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/04/image_16062025_16_05_04_10031.jpg', '/mnt/data/16062025/16/04/image_16062025_16_04_54_9965.jpg', '/mnt/data/16062025/16/04/image_16062025_16_04_44_9946.jpg', '/mnt/data/16062025/16/04/image_16062025_16_04_34_9949.jpg', '/mnt/data/16062025/16/04/image_16062025_16_04_25_10074.jpg', '/mnt/data/16062025/16/03/image_16062025_16_03_44_10102.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/04/image_16062025_16_05_04_10031.jpg', '/mnt/data/16062025/16/04/image_16062025_16_04_54_9965.jpg', '/mnt/data/16062025/16/04/image_16062025_16_04_44_9946.jpg', '/mnt/data/16062025/16/04/image_16062025_16_04_34_9949.jpg', '/mnt/data/16062025/16/04/image_16062025_16_04_25_10074.jpg', '/mnt/data/16062025/16/03/image_16062025_16_03_44_10102.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/04/image_16062025_16_05_04_10031.jpg
/mnt/data/16062025/16/04/image_16062025_16_04_54_9965.jpg
/mnt/data/16062025/16/04/image_16062025_16_04_44_9946.jpg
/mnt/data/16062025/16/04/image_16062025_16_04_34_9949.jpg
/mnt/data/16062025/16/04/image_16062025_16_04_25_10074.jpg
/mnt/data/16062025/16/03/image_16062025_16_03_44_10102.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376438612","1376438609","1376438623","1376438617","1376438626","1376438620"],"photo_ids_order":["1376438609","1376438612","1376438617","1376438620","1376438623","1376438626"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b1720adf3d38ef31bdbec8790a110cbf.jpg","text":"TemporaryFile(/tmp/multipartBody4390257498536611467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913737253,"filename":"image_16062025_16_04_54_9965.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/64ab5059d62ce4f3733458e743fc85da.jpg","text":"TemporaryFile(/tmp/multipartBody6264995971057420242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913737253,"filename":"image_16062025_16_05_04_10031.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/24621b1adc7950f09ea716c08735dfa5.jpg","text":"TemporaryFile(/tmp/multipartBody2609271373162162216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913737253,"filename":"image_16062025_16_04_25_10074.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/756e1c933d51ae4ab19157d3bbe8a7d0.jpg","text":"TemporaryFile(/tmp/multipartBody2250018830232028714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913737253,"filename":"image_16062025_16_04_44_9946.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/618074fe463dd2992d3d2ac34f2e2ce2.jpg","text":"TemporaryFile(/tmp/multipartBody6452328302514374299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913737253,"filename":"image_16062025_16_03_44_10102.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3903b3c5e691c3f5ceadc7b6393c3203.jpg","text":"TemporaryFile(/tmp/multipartBody3121076296998019850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754913737253,"filename":"image_16062025_16_04_34_9949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376438617","file1":"1376438612","file0":"1376438609","file4":"1376438623","file5":"1376438626","file3":"1376438620"},"map_files_photo_id_array":[{"photo_id":"1376438626","filename":"file5"},{"photo_id":"1376438617","filename":"file2"},{"photo_id":"1376438623","filename":"file4"},{"photo_id":"1376438612","filename":"file1"},{"photo_id":"1376438609","filename":"file0"},{"photo_id":"1376438620","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376438612":["hashtag1","hashtag2"]},{"1376438609":["hashtag1","hashtag2"]},{"1376438623":["hashtag1","hashtag2"]},{"1376438617":["hashtag1","hashtag2"]},{"1376438626":["hashtag1","hashtag2"]},{"1376438620":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376438612, 1376438609, 1376438623, 1376438617, 1376438626, 1376438620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.56551146507263 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:02:03.179688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 135.00202465057373 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:05:03.560976
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 126.95846104621887 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:08:02.633997
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376439967","1376439925","1376439891","1376439858","1376439951","1376439962"],"photo_ids_order":["1376439858","1376439891","1376439925","1376439951","1376439962","1376439967"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/53beaaa7c8b63e855f9177d25b554c3f.jpg","text":"TemporaryFile(/tmp/multipartBody1361149781258483143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754914157697,"filename":"image_16062025_16_02_14_10094.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/57ae4c5cd6c5ffd3f4ca04145aa7a405.jpg","text":"TemporaryFile(/tmp/multipartBody5899491484499508211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754914157697,"filename":"image_16062025_16_02_44_9927.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8afd577846b0f0c315473f3b13333dd1.jpg","text":"TemporaryFile(/tmp/multipartBody4130185865611610532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754914157697,"filename":"image_16062025_16_02_54_10064.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/df20b56b5ef1e39dd2197098ca395236.jpg","text":"TemporaryFile(/tmp/multipartBody2189605105699769920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754914157697,"filename":"image_16062025_16_03_24_8919.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d4b3f72f3ed3164fdb45451051cf811c.jpg","text":"TemporaryFile(/tmp/multipartBody3318404562931383293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754914157697,"filename":"image_16062025_16_02_34_9927.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6927fa4138248eb1423f4f82fbe88cc9.jpg","text":"TemporaryFile(/tmp/multipartBody1245355822943072380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754914157697,"filename":"image_16062025_16_02_24_9894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376439925","file1":"1376439891","file0":"1376439858","file4":"1376439962","file5":"1376439967","file3":"1376439951"},"map_files_photo_id_array":[{"photo_id":"1376439967","filename":"file5"},{"photo_id":"1376439925","filename":"file2"},{"photo_id":"1376439962","filename":"file4"},{"photo_id":"1376439891","filename":"file1"},{"photo_id":"1376439858","filename":"file0"},{"photo_id":"1376439951","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376439967":["hashtag1","hashtag2"]},{"1376439925":["hashtag1","hashtag2"]},{"1376439891":["hashtag1","hashtag2"]},{"1376439858":["hashtag1","hashtag2"]},{"1376439951":["hashtag1","hashtag2"]},{"1376439962":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376439967, 1376439925, 1376439891, 1376439858, 1376439951, 1376439962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.80507278442383 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:09:03.063468
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/01/image_16062025_16_02_04_10489.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_54_10101.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_44_10083.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_34_8920.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_25_10075.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_15_10047.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/01/image_16062025_16_02_04_10489.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_54_10101.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_44_10083.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_34_8920.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_25_10075.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_15_10047.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/01/image_16062025_16_02_04_10489.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_54_10101.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_44_10083.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_34_8920.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_25_10075.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_15_10047.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/01/image_16062025_16_02_04_10489.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_54_10101.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_44_10083.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_34_8920.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_25_10075.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_15_10047.jpg
uploaded 0 photos
time to upload: 30.54473328590393 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:10:03.356076
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/01/image_16062025_16_02_04_10489.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_54_10101.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_44_10083.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_34_8920.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_25_10075.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_15_10047.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/01/image_16062025_16_02_04_10489.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_54_10101.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_44_10083.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_34_8920.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_25_10075.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_15_10047.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/01/image_16062025_16_02_04_10489.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_54_10101.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_44_10083.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_34_8920.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_25_10075.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_15_10047.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/01/image_16062025_16_02_04_10489.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_54_10101.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_44_10083.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_34_8920.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_25_10075.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_15_10047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376440236","1376440319","1376440232","1376440223","1376440204","1376440201"],"photo_ids_order":["1376440201","1376440204","1376440223","1376440232","1376440236","1376440319"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2f01246dfbda8863be1879d31bd6566d.jpg","text":"TemporaryFile(/tmp/multipartBody8136253464918688612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754914294091,"filename":"image_16062025_16_01_25_10075.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/058f057ebea61b3be655a3a5fa3ee0fe.jpg","text":"TemporaryFile(/tmp/multipartBody8811928688184311877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754914294091,"filename":"image_16062025_16_01_15_10047.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5658e3288c5437e62261097aafb91895.jpg","text":"TemporaryFile(/tmp/multipartBody1409895144974865604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754914294091,"filename":"image_16062025_16_01_34_8920.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e934614c7cf5019409e76a0a49323954.jpg","text":"TemporaryFile(/tmp/multipartBody6508951506427996560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754914294091,"filename":"image_16062025_16_01_44_10083.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/686c30da29f5bfe2242c880cd47841e6.jpg","text":"TemporaryFile(/tmp/multipartBody1589522472343262269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754914294091,"filename":"image_16062025_16_01_54_10101.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a551214416833123da749905dcfe58e5.jpg","text":"TemporaryFile(/tmp/multipartBody1910152966038991811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754914294091,"filename":"image_16062025_16_02_04_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376440223","file1":"1376440204","file0":"1376440201","file4":"1376440236","file5":"1376440319","file3":"1376440232"},"map_files_photo_id_array":[{"photo_id":"1376440319","filename":"file5"},{"photo_id":"1376440223","filename":"file2"},{"photo_id":"1376440236","filename":"file4"},{"photo_id":"1376440204","filename":"file1"},{"photo_id":"1376440201","filename":"file0"},{"photo_id":"1376440232","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376440236":["hashtag1","hashtag2"]},{"1376440319":["hashtag1","hashtag2"]},{"1376440232":["hashtag1","hashtag2"]},{"1376440223":["hashtag1","hashtag2"]},{"1376440204":["hashtag1","hashtag2"]},{"1376440201":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376440236, 1376440319, 1376440232, 1376440223, 1376440204, 1376440201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.16957211494446 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:12:02.595133
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 139.95423221588135 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:15:03.080952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 131.42856216430664 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:18:02.560733
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg
uploaded 0 photos
time to upload: 30.323745012283325 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:19:02.809778
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 132.45902562141418 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:22:02.178804
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 131.16941952705383 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:25:03.340400
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 130.6173906326294 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:28:03.083697
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376442697","1376442682","1376442701","1376442688","1376442678","1376442692"],"photo_ids_order":["1376442678","1376442682","1376442688","1376442692","1376442697","1376442701"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/553226a4f6652fac78ff3bf307675156.jpg","text":"TemporaryFile(/tmp/multipartBody933545515159387974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915356652,"filename":"image_16062025_16_00_24_9931.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9dad3e609160432697cb18b7bd8c4a5c.jpg","text":"TemporaryFile(/tmp/multipartBody4960137994218171323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915356652,"filename":"image_16062025_16_00_55_9925.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d384046b72c6da6ebcb4c6e531d7a143.jpg","text":"TemporaryFile(/tmp/multipartBody703173203026655046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915356652,"filename":"image_16062025_16_00_14_9942.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/76d08dfffd7fdc402c39fefe68d4faad.jpg","text":"TemporaryFile(/tmp/multipartBody9181906387905547150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915356652,"filename":"image_16062025_16_00_45_9964.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b7a774b59047d0c8f9f10ddb48d042dd.jpg","text":"TemporaryFile(/tmp/multipartBody6919666197174892318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915356652,"filename":"image_16062025_16_01_05_10011.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a637f1d152082d5f852ccc80b44a7d46.jpg","text":"TemporaryFile(/tmp/multipartBody4883430207053745834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915356652,"filename":"image_16062025_16_00_35_11108.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376442688","file1":"1376442682","file0":"1376442678","file4":"1376442697","file5":"1376442701","file3":"1376442692"},"map_files_photo_id_array":[{"photo_id":"1376442701","filename":"file5"},{"photo_id":"1376442688","filename":"file2"},{"photo_id":"1376442697","filename":"file4"},{"photo_id":"1376442682","filename":"file1"},{"photo_id":"1376442678","filename":"file0"},{"photo_id":"1376442692","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376442697":["hashtag1","hashtag2"]},{"1376442682":["hashtag1","hashtag2"]},{"1376442701":["hashtag1","hashtag2"]},{"1376442688":["hashtag1","hashtag2"]},{"1376442678":["hashtag1","hashtag2"]},{"1376442692":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376442697, 1376442682, 1376442701, 1376442688, 1376442678, 1376442692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.65226769447327 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:29:03.609979
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/59/image_16062025_16_00_04_9110.jpg', 2), ('/mnt/data/16062025/15/59/image_16062025_15_59_55_9927.jpg', 2), ('/mnt/data/16062025/15/59/image_16062025_15_59_45_9932.jpg', 2), ('/mnt/data/16062025/15/59/image_16062025_15_59_35_11142.jpg', 2), ('/mnt/data/16062025/15/59/image_16062025_15_59_24_9948.jpg', 2), ('/mnt/data/16062025/15/59/image_16062025_15_59_14_9939.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/59/image_16062025_16_00_04_9110.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_55_9927.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_45_9932.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_35_11142.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_24_9948.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_14_9939.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/59/image_16062025_16_00_04_9110.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_55_9927.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_45_9932.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_35_11142.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_24_9948.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_14_9939.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/59/image_16062025_16_00_04_9110.jpg
/mnt/data/16062025/15/59/image_16062025_15_59_55_9927.jpg
/mnt/data/16062025/15/59/image_16062025_15_59_45_9932.jpg
/mnt/data/16062025/15/59/image_16062025_15_59_35_11142.jpg
/mnt/data/16062025/15/59/image_16062025_15_59_24_9948.jpg
/mnt/data/16062025/15/59/image_16062025_15_59_14_9939.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376442728","1376442724","1376442741","1376442732","1376442752","1376442737"],"photo_ids_order":["1376442724","1376442728","1376442732","1376442737","1376442741","1376442752"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6bfc6c1a25f545378c62375ddd4b096a.jpg","text":"TemporaryFile(/tmp/multipartBody407502323538935832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915421961,"filename":"image_16062025_15_59_55_9927.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/65e775bd54a71c1477e000c1872e56c9.jpg","text":"TemporaryFile(/tmp/multipartBody4620892776681930974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915421961,"filename":"image_16062025_16_00_04_9110.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c4096845be54fef1f4cf4737f641846f.jpg","text":"TemporaryFile(/tmp/multipartBody3335407585210001383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915421961,"filename":"image_16062025_15_59_24_9948.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/27cebf09d91c4d55ae9551c9f3b5c079.jpg","text":"TemporaryFile(/tmp/multipartBody4438568019148026668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915421961,"filename":"image_16062025_15_59_45_9932.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d5f6e444c143d734af107d6ecfcc9d12.jpg","text":"TemporaryFile(/tmp/multipartBody1956709659534117629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915421961,"filename":"image_16062025_15_59_14_9939.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b7992caba8cbaded1803278415ab7afb.jpg","text":"TemporaryFile(/tmp/multipartBody2189436522742925390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915421961,"filename":"image_16062025_15_59_35_11142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376442732","file1":"1376442728","file0":"1376442724","file4":"1376442741","file5":"1376442752","file3":"1376442737"},"map_files_photo_id_array":[{"photo_id":"1376442752","filename":"file5"},{"photo_id":"1376442732","filename":"file2"},{"photo_id":"1376442741","filename":"file4"},{"photo_id":"1376442728","filename":"file1"},{"photo_id":"1376442724","filename":"file0"},{"photo_id":"1376442737","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376442728":["hashtag1","hashtag2"]},{"1376442724":["hashtag1","hashtag2"]},{"1376442741":["hashtag1","hashtag2"]},{"1376442732":["hashtag1","hashtag2"]},{"1376442752":["hashtag1","hashtag2"]},{"1376442737":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376442728, 1376442724, 1376442741, 1376442732, 1376442752, 1376442737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.31213450431824 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:31:02.722684
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/58/image_16062025_15_59_04_10141.jpg', 2), ('/mnt/data/16062025/15/58/image_16062025_15_58_54_9942.jpg', 2), ('/mnt/data/16062025/15/58/image_16062025_15_58_44_9926.jpg', 2), ('/mnt/data/16062025/15/58/image_16062025_15_58_34_9964.jpg', 2), ('/mnt/data/16062025/15/58/image_16062025_15_58_24_10173.jpg', 2), ('/mnt/data/16062025/15/58/image_16062025_15_58_14_8936.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/58/image_16062025_15_59_04_10141.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_54_9942.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_44_9926.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_34_9964.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_24_10173.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_14_8936.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/58/image_16062025_15_59_04_10141.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_54_9942.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_44_9926.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_34_9964.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_24_10173.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_14_8936.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/58/image_16062025_15_59_04_10141.jpg
/mnt/data/16062025/15/58/image_16062025_15_58_54_9942.jpg
/mnt/data/16062025/15/58/image_16062025_15_58_44_9926.jpg
/mnt/data/16062025/15/58/image_16062025_15_58_34_9964.jpg
/mnt/data/16062025/15/58/image_16062025_15_58_24_10173.jpg
/mnt/data/16062025/15/58/image_16062025_15_58_14_8936.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376442917","1376442943","1376442960","1376443008","1376442980","1376443004"],"photo_ids_order":["1376442917","1376442943","1376442960","1376442980","1376443004","1376443008"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/58fe09ed63c2276cdc6e733b21389faa.jpg","text":"TemporaryFile(/tmp/multipartBody6458756291763185303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915539355,"filename":"image_16062025_15_59_04_10141.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8d32fada6215f3f10667dc45060b2f0b.jpg","text":"TemporaryFile(/tmp/multipartBody2845975955560425670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915539355,"filename":"image_16062025_15_58_54_9942.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f3ba77d04e2838aed83213a1e604d05c.jpg","text":"TemporaryFile(/tmp/multipartBody3623374482603582561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915539355,"filename":"image_16062025_15_58_44_9926.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bc704ded1cf7806e7fe45b256eb39286.jpg","text":"TemporaryFile(/tmp/multipartBody824930128701917605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915539355,"filename":"image_16062025_15_58_14_8936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/94bc25a2290e042360ef9d65895f9fe4.jpg","text":"TemporaryFile(/tmp/multipartBody6675248004112648820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915539355,"filename":"image_16062025_15_58_34_9964.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f4721fd8718f986bc4755da849be6b10.jpg","text":"TemporaryFile(/tmp/multipartBody2257203084383389185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915539355,"filename":"image_16062025_15_58_24_10173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376442960","file1":"1376442943","file0":"1376442917","file4":"1376443004","file5":"1376443008","file3":"1376442980"},"map_files_photo_id_array":[{"photo_id":"1376443008","filename":"file5"},{"photo_id":"1376442960","filename":"file2"},{"photo_id":"1376443004","filename":"file4"},{"photo_id":"1376442943","filename":"file1"},{"photo_id":"1376442917","filename":"file0"},{"photo_id":"1376442980","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376442917":["hashtag1","hashtag2"]},{"1376442943":["hashtag1","hashtag2"]},{"1376442960":["hashtag1","hashtag2"]},{"1376443008":["hashtag1","hashtag2"]},{"1376442980":["hashtag1","hashtag2"]},{"1376443004":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376442917, 1376442943, 1376442960, 1376443008, 1376442980, 1376443004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.566396713256836 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:32:02.397611
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_44_10154.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_34_10253.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_24_8995.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_44_10154.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_34_10253.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_24_8995.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_44_10154.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_34_10253.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_24_8995.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_44_10154.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_34_10253.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_24_8995.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_15_10176.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 141.02436137199402 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:35:02.775236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_44_10154.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_34_10253.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_24_8995.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_44_10154.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_34_10253.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_24_8995.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_44_10154.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_34_10253.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_24_8995.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_44_10154.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_34_10253.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_24_8995.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_15_10176.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 147.60200476646423 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:38:02.374805
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_44_10154.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_34_10253.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_24_8995.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_15_10176.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_44_10154.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_34_10253.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_24_8995.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_15_10176.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_44_10154.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_34_10253.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_24_8995.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_15_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_44_10154.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_34_10253.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_24_8995.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_15_10176.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376443225","1376443245","1376443227","1376443221","1376443215","1376443232"],"photo_ids_order":["1376443215","1376443221","1376443225","1376443227","1376443232","1376443245"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5b21fef3a5dc5ec0c5e6c400b2b5bef1.jpg","text":"TemporaryFile(/tmp/multipartBody7114778813643220013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915965738,"filename":"image_16062025_15_57_44_10154.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/77d5fd83f9e79ffd6c12abad07f826ce.jpg","text":"TemporaryFile(/tmp/multipartBody685207282151013980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915965738,"filename":"image_16062025_15_57_15_10176.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/04b8f544ece6a2a6304f423c5752d60a.jpg","text":"TemporaryFile(/tmp/multipartBody3727818634885948123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915965738,"filename":"image_16062025_15_57_34_10253.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a5cc43cd3e05c73af7ef230553993ff1.jpg","text":"TemporaryFile(/tmp/multipartBody8039443377759180296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915965738,"filename":"image_16062025_15_57_54_10174.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3ec309d981462a4cc773f731bb1d7f02.jpg","text":"TemporaryFile(/tmp/multipartBody7352338834586166230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915965738,"filename":"image_16062025_15_58_05_10406.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4692197e5cbf63a017e5debfe4483a4e.jpg","text":"TemporaryFile(/tmp/multipartBody3927881418171108707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754915965738,"filename":"image_16062025_15_57_24_8995.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376443225","file1":"1376443221","file0":"1376443215","file4":"1376443232","file5":"1376443245","file3":"1376443227"},"map_files_photo_id_array":[{"photo_id":"1376443245","filename":"file5"},{"photo_id":"1376443225","filename":"file2"},{"photo_id":"1376443232","filename":"file4"},{"photo_id":"1376443221","filename":"file1"},{"photo_id":"1376443215","filename":"file0"},{"photo_id":"1376443227","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376443225":["hashtag1","hashtag2"]},{"1376443245":["hashtag1","hashtag2"]},{"1376443227":["hashtag1","hashtag2"]},{"1376443221":["hashtag1","hashtag2"]},{"1376443215":["hashtag1","hashtag2"]},{"1376443232":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376443225, 1376443245, 1376443227, 1376443221, 1376443215, 1376443232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.16743564605713 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:40:02.890914
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/56/image_16062025_15_57_05_10137.jpg', 2), ('/mnt/data/16062025/15/56/image_16062025_15_56_54_10166.jpg', 2), ('/mnt/data/16062025/15/56/image_16062025_15_56_44_10141.jpg', 2), ('/mnt/data/16062025/15/56/image_16062025_15_56_34_10106.jpg', 2), ('/mnt/data/16062025/15/56/image_16062025_15_56_24_10050.jpg', 2), ('/mnt/data/16062025/15/56/image_16062025_15_56_14_9961.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/56/image_16062025_15_57_05_10137.jpg', '/mnt/data/16062025/15/56/image_16062025_15_56_54_10166.jpg', '/mnt/data/16062025/15/56/image_16062025_15_56_44_10141.jpg', '/mnt/data/16062025/15/56/image_16062025_15_56_34_10106.jpg', '/mnt/data/16062025/15/56/image_16062025_15_56_24_10050.jpg', '/mnt/data/16062025/15/56/image_16062025_15_56_14_9961.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/56/image_16062025_15_57_05_10137.jpg', '/mnt/data/16062025/15/56/image_16062025_15_56_54_10166.jpg', '/mnt/data/16062025/15/56/image_16062025_15_56_44_10141.jpg', '/mnt/data/16062025/15/56/image_16062025_15_56_34_10106.jpg', '/mnt/data/16062025/15/56/image_16062025_15_56_24_10050.jpg', '/mnt/data/16062025/15/56/image_16062025_15_56_14_9961.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/56/image_16062025_15_57_05_10137.jpg
/mnt/data/16062025/15/56/image_16062025_15_56_54_10166.jpg
/mnt/data/16062025/15/56/image_16062025_15_56_44_10141.jpg
/mnt/data/16062025/15/56/image_16062025_15_56_34_10106.jpg
/mnt/data/16062025/15/56/image_16062025_15_56_24_10050.jpg
/mnt/data/16062025/15/56/image_16062025_15_56_14_9961.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376443336","1376443339","1376443327","1376443343","1376443346","1376443331"],"photo_ids_order":["1376443327","1376443331","1376443336","1376443339","1376443343","1376443346"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dc844b196c69c9d598f4a7d474a25c68.jpg","text":"TemporaryFile(/tmp/multipartBody2539020334258042226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754916086972,"filename":"image_16062025_15_56_44_10141.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/95d62c3402f152bc4392df50d3459614.jpg","text":"TemporaryFile(/tmp/multipartBody4485843362162279680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754916086972,"filename":"image_16062025_15_56_34_10106.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/800ae02893b52dbf80ccc6b8fae12e2e.jpg","text":"TemporaryFile(/tmp/multipartBody4876367242950782838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754916086972,"filename":"image_16062025_15_57_05_10137.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ff9d4734a1f71b10876a2f3038e99316.jpg","text":"TemporaryFile(/tmp/multipartBody3064762345857270554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754916086972,"filename":"image_16062025_15_56_24_10050.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1c5d64b596186c2e14ab02d7876ae1ab.jpg","text":"TemporaryFile(/tmp/multipartBody4243672131998828708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754916086972,"filename":"image_16062025_15_56_14_9961.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/29467d7579a31b2d19115d3c60263685.jpg","text":"TemporaryFile(/tmp/multipartBody7797479509343572495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754916086972,"filename":"image_16062025_15_56_54_10166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376443336","file1":"1376443331","file0":"1376443327","file4":"1376443343","file5":"1376443346","file3":"1376443339"},"map_files_photo_id_array":[{"photo_id":"1376443346","filename":"file5"},{"photo_id":"1376443336","filename":"file2"},{"photo_id":"1376443343","filename":"file4"},{"photo_id":"1376443331","filename":"file1"},{"photo_id":"1376443327","filename":"file0"},{"photo_id":"1376443339","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376443336":["hashtag1","hashtag2"]},{"1376443339":["hashtag1","hashtag2"]},{"1376443327":["hashtag1","hashtag2"]},{"1376443343":["hashtag1","hashtag2"]},{"1376443346":["hashtag1","hashtag2"]},{"1376443331":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376443336, 1376443339, 1376443327, 1376443343, 1376443346, 1376443331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.40898251533508 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:42:03.101999
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/55/image_16062025_15_56_04_10093.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_54_9970.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_44_10008.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_34_10003.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_24_9981.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_14_9982.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/55/image_16062025_15_56_04_10093.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_54_9970.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_44_10008.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_34_10003.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_24_9981.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_14_9982.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/55/image_16062025_15_56_04_10093.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_54_9970.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_44_10008.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_34_10003.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_24_9981.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_14_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/55/image_16062025_15_56_04_10093.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_54_9970.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_44_10008.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_34_10003.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_24_9981.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_14_9982.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 126.39566111564636 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:45:03.178844
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/55/image_16062025_15_56_04_10093.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_54_9970.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_44_10008.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_34_10003.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_24_9981.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_14_9982.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/55/image_16062025_15_56_04_10093.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_54_9970.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_44_10008.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_34_10003.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_24_9981.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_14_9982.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/55/image_16062025_15_56_04_10093.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_54_9970.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_44_10008.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_34_10003.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_24_9981.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_14_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/55/image_16062025_15_56_04_10093.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_54_9970.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_44_10008.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_34_10003.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_24_9981.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_14_9982.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 130.66678881645203 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:48:02.924906
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/55/image_16062025_15_56_04_10093.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_54_9970.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_44_10008.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_34_10003.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_24_9981.jpg', 2), ('/mnt/data/16062025/15/55/image_16062025_15_55_14_9982.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/55/image_16062025_15_56_04_10093.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_54_9970.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_44_10008.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_34_10003.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_24_9981.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_14_9982.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/55/image_16062025_15_56_04_10093.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_54_9970.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_44_10008.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_34_10003.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_24_9981.jpg', '/mnt/data/16062025/15/55/image_16062025_15_55_14_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/55/image_16062025_15_56_04_10093.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_54_9970.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_44_10008.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_34_10003.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_24_9981.jpg
/mnt/data/16062025/15/55/image_16062025_15_55_14_9982.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376444533","1376444527","1376444543","1376444536","1376444539","1376444530"],"photo_ids_order":["1376444527","1376444530","1376444533","1376444536","1376444539","1376444543"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/773fb96baac0cb264f6fb0117c593f26.jpg","text":"TemporaryFile(/tmp/multipartBody3563029556407143080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754916552765,"filename":"image_16062025_15_55_44_10008.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2a88478f50cf218b78eaa9e079e310f1.jpg","text":"TemporaryFile(/tmp/multipartBody6002430001614189342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754916552765,"filename":"image_16062025_15_56_04_10093.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/64c56a16e4b7931864f8395a237441ef.jpg","text":"TemporaryFile(/tmp/multipartBody6911240355524500914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754916552765,"filename":"image_16062025_15_55_14_9982.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/82ff62fd75dda1428ee5d4744b6efa4d.jpg","text":"TemporaryFile(/tmp/multipartBody4459635367972854711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754916552765,"filename":"image_16062025_15_55_34_10003.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a842d615aa766d9a7927ad9144774788.jpg","text":"TemporaryFile(/tmp/multipartBody5979201991832949212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754916552765,"filename":"image_16062025_15_55_24_9981.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/76ffb24e7c5583aad618077c046b2c73.jpg","text":"TemporaryFile(/tmp/multipartBody5354867646823412179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754916552765,"filename":"image_16062025_15_55_54_9970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376444533","file1":"1376444530","file0":"1376444527","file4":"1376444539","file5":"1376444543","file3":"1376444536"},"map_files_photo_id_array":[{"photo_id":"1376444543","filename":"file5"},{"photo_id":"1376444533","filename":"file2"},{"photo_id":"1376444539","filename":"file4"},{"photo_id":"1376444530","filename":"file1"},{"photo_id":"1376444527","filename":"file0"},{"photo_id":"1376444536","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376444533":["hashtag1","hashtag2"]},{"1376444527":["hashtag1","hashtag2"]},{"1376444543":["hashtag1","hashtag2"]},{"1376444536":["hashtag1","hashtag2"]},{"1376444539":["hashtag1","hashtag2"]},{"1376444530":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376444533, 1376444527, 1376444543, 1376444536, 1376444539, 1376444530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.29154300689697 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:49:03.140318
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 125.2252676486969 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:52:02.735689
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 124.97962307929993 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:55:02.963730
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 136.58966875076294 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 14:59:02.881331
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg', 2), ('/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg', '/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/54/image_16062025_15_55_04_10053.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_54_9969.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_44_9936.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_34_9735.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_24_10049.jpg
/mnt/data/16062025/15/54/image_16062025_15_54_14_10125.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376445957","1376445846","1376445776","1376445895","1376445996","1376445814"],"photo_ids_order":["1376445776","1376445814","1376445846","1376445895","1376445957","1376445996"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/96b63acef9f55382cfd749fe880a11a9.jpg","text":"TemporaryFile(/tmp/multipartBody1140526926720917833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917217154,"filename":"image_16062025_15_54_24_10049.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/23d6df5bb8d6ee5803badc03b20f3cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7604304240268703206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917217154,"filename":"image_16062025_15_54_44_9936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2035ced6427b99071f5bd750c8b78f90.jpg","text":"TemporaryFile(/tmp/multipartBody802791303602725194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917217154,"filename":"image_16062025_15_55_04_10053.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e440f69ba1c20955b22ed93f018f8608.jpg","text":"TemporaryFile(/tmp/multipartBody2170961551300417900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917217154,"filename":"image_16062025_15_54_34_9735.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ee4b4de288ea0948820c73c70d082dc0.jpg","text":"TemporaryFile(/tmp/multipartBody4958209340982705727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917217154,"filename":"image_16062025_15_54_14_10125.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e8ee8c8b3e03ffb95ce739df1e02f14f.jpg","text":"TemporaryFile(/tmp/multipartBody8359598862669642848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917217154,"filename":"image_16062025_15_54_54_9969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376445846","file1":"1376445814","file0":"1376445776","file4":"1376445957","file5":"1376445996","file3":"1376445895"},"map_files_photo_id_array":[{"photo_id":"1376445996","filename":"file5"},{"photo_id":"1376445846","filename":"file2"},{"photo_id":"1376445957","filename":"file4"},{"photo_id":"1376445814","filename":"file1"},{"photo_id":"1376445776","filename":"file0"},{"photo_id":"1376445895","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376445957":["hashtag1","hashtag2"]},{"1376445846":["hashtag1","hashtag2"]},{"1376445776":["hashtag1","hashtag2"]},{"1376445895":["hashtag1","hashtag2"]},{"1376445996":["hashtag1","hashtag2"]},{"1376445814":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376445957, 1376445846, 1376445776, 1376445895, 1376445996, 1376445814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.74367308616638 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:00:02.816964
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/53/image_16062025_15_54_04_10242.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_54_10068.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/53/image_16062025_15_54_04_10242.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_54_10068.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/53/image_16062025_15_54_04_10242.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_54_10068.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/53/image_16062025_15_54_04_10242.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_54_10068.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376446094","1376446142","1376446073","1376446081","1376446078","1376446074"],"photo_ids_order":["1376446073","1376446074","1376446078","1376446081","1376446094","1376446142"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/81af78aeaa23085d1214eeab35651a93.jpg","text":"TemporaryFile(/tmp/multipartBody5995337671229936706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917277828,"filename":"image_16062025_15_50_24_9990.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0015dcf92f53d07013a33425f2720f17.jpg","text":"TemporaryFile(/tmp/multipartBody8727153728494956749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917277828,"filename":"image_16062025_15_50_14_10049.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e96574ab0785479554719304e947bfed.jpg","text":"TemporaryFile(/tmp/multipartBody1884984582737113563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917277828,"filename":"image_16062025_15_54_04_10242.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5d0940ba4ee2ff360c41c61a073e761a.jpg","text":"TemporaryFile(/tmp/multipartBody3993763762203630801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917277828,"filename":"image_16062025_15_50_34_9970.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1a364354d7adb7587139266cc4dfc48d.jpg","text":"TemporaryFile(/tmp/multipartBody6004952166220960864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917277828,"filename":"image_16062025_15_50_44_9960.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d3059b011a396ef9f4b0e13146353978.jpg","text":"TemporaryFile(/tmp/multipartBody6198600714066947096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917277828,"filename":"image_16062025_15_50_54_10068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376446078","file1":"1376446074","file0":"1376446073","file4":"1376446094","file5":"1376446142","file3":"1376446081"},"map_files_photo_id_array":[{"photo_id":"1376446142","filename":"file5"},{"photo_id":"1376446078","filename":"file2"},{"photo_id":"1376446094","filename":"file4"},{"photo_id":"1376446074","filename":"file1"},{"photo_id":"1376446073","filename":"file0"},{"photo_id":"1376446081","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376446094":["hashtag1","hashtag2"]},{"1376446142":["hashtag1","hashtag2"]},{"1376446073":["hashtag1","hashtag2"]},{"1376446081":["hashtag1","hashtag2"]},{"1376446078":["hashtag1","hashtag2"]},{"1376446074":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376446094, 1376446142, 1376446073, 1376446081, 1376446078, 1376446074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.883139848709106 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:01:02.416829
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_49_45_9946.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_49_35_10274.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_49_24_10268.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_49_14_10155.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_45_9946.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_35_10274.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_24_10268.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_14_10155.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_45_9946.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_35_10274.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_24_10268.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_14_10155.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg
/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg
/mnt/data/16062025/15/49/image_16062025_15_49_45_9946.jpg
/mnt/data/16062025/15/49/image_16062025_15_49_35_10274.jpg
/mnt/data/16062025/15/49/image_16062025_15_49_24_10268.jpg
/mnt/data/16062025/15/49/image_16062025_15_49_14_10155.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376446496","1376446457","1376446609","1376446665","1376446728","1376446545"],"photo_ids_order":["1376446457","1376446496","1376446545","1376446609","1376446665","1376446728"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/40f8c08e7044972e7d7e6646807e664a.jpg","text":"TemporaryFile(/tmp/multipartBody1721006828013175152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917347948,"filename":"image_16062025_15_49_55_10131.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b703549b529159a141151a761a15dbe7.jpg","text":"TemporaryFile(/tmp/multipartBody9069478461840971147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917347948,"filename":"image_16062025_15_50_04_9002.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3dc9e0b28a9e3c6ac915f783321340d1.jpg","text":"TemporaryFile(/tmp/multipartBody1852897810201813418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917347948,"filename":"image_16062025_15_49_35_10274.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0a3c08af4677338b5f227655f81a9942.jpg","text":"TemporaryFile(/tmp/multipartBody4570020546580715284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917347948,"filename":"image_16062025_15_49_24_10268.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b908b34ad9287cf6f6a1f8afef4522a4.jpg","text":"TemporaryFile(/tmp/multipartBody1437153035891459388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917347948,"filename":"image_16062025_15_49_14_10155.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6dd74980a148f62c15f9472a3af04cbc.jpg","text":"TemporaryFile(/tmp/multipartBody7182641805406139602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917347948,"filename":"image_16062025_15_49_45_9946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376446545","file1":"1376446496","file0":"1376446457","file4":"1376446665","file5":"1376446728","file3":"1376446609"},"map_files_photo_id_array":[{"photo_id":"1376446728","filename":"file5"},{"photo_id":"1376446545","filename":"file2"},{"photo_id":"1376446665","filename":"file4"},{"photo_id":"1376446496","filename":"file1"},{"photo_id":"1376446457","filename":"file0"},{"photo_id":"1376446609","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376446496":["hashtag1","hashtag2"]},{"1376446457":["hashtag1","hashtag2"]},{"1376446609":["hashtag1","hashtag2"]},{"1376446665":["hashtag1","hashtag2"]},{"1376446728":["hashtag1","hashtag2"]},{"1376446545":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376446496, 1376446457, 1376446609, 1376446665, 1376446728, 1376446545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.04692268371582 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:03:03.197045
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/48/image_16062025_15_49_04_10014.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_54_10139.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_44_10209.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_34_8921.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_25_10112.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_15_10137.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/48/image_16062025_15_49_04_10014.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_54_10139.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_44_10209.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_34_8921.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_25_10112.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_15_10137.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/48/image_16062025_15_49_04_10014.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_54_10139.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_44_10209.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_34_8921.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_25_10112.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_15_10137.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/48/image_16062025_15_49_04_10014.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_54_10139.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_44_10209.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_34_8921.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_25_10112.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_15_10137.jpg
uploaded 0 photos
time to upload: 30.391340494155884 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:04:03.048822
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/48/image_16062025_15_49_04_10014.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_54_10139.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_44_10209.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_34_8921.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_25_10112.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_15_10137.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/48/image_16062025_15_49_04_10014.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_54_10139.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_44_10209.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_34_8921.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_25_10112.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_15_10137.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/48/image_16062025_15_49_04_10014.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_54_10139.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_44_10209.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_34_8921.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_25_10112.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_15_10137.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/48/image_16062025_15_49_04_10014.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_54_10139.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_44_10209.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_34_8921.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_25_10112.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_15_10137.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376447881","1376447857","1376447854","1376447886","1376447874","1376447867"],"photo_ids_order":["1376447854","1376447857","1376447867","1376447874","1376447881","1376447886"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6e0d8d0721d4265ffca11b8b9ab0e2bd.jpg","text":"TemporaryFile(/tmp/multipartBody884495020979363682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917516739,"filename":"image_16062025_15_48_25_10112.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7100725fe5f7193d886cdee8ed48738a.jpg","text":"TemporaryFile(/tmp/multipartBody638809388262277621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917516739,"filename":"image_16062025_15_48_54_10139.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c3ccb50bf101331a93e21039c20fbbc3.jpg","text":"TemporaryFile(/tmp/multipartBody8492066182814081175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917516739,"filename":"image_16062025_15_49_04_10014.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/217cb69197d499faa0f07323ecb3461f.jpg","text":"TemporaryFile(/tmp/multipartBody5584803163425374256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917516739,"filename":"image_16062025_15_48_15_10137.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ab45583725b0e7b58c4f1df4907ce2ac.jpg","text":"TemporaryFile(/tmp/multipartBody8506944989619652448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917516739,"filename":"image_16062025_15_48_34_8921.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a1c00af1c6d5a8772d311f5213526cc4.jpg","text":"TemporaryFile(/tmp/multipartBody7356309956819823746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917516739,"filename":"image_16062025_15_48_44_10209.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376447867","file1":"1376447857","file0":"1376447854","file4":"1376447881","file5":"1376447886","file3":"1376447874"},"map_files_photo_id_array":[{"photo_id":"1376447886","filename":"file5"},{"photo_id":"1376447867","filename":"file2"},{"photo_id":"1376447881","filename":"file4"},{"photo_id":"1376447857","filename":"file1"},{"photo_id":"1376447854","filename":"file0"},{"photo_id":"1376447874","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376447881":["hashtag1","hashtag2"]},{"1376447857":["hashtag1","hashtag2"]},{"1376447854":["hashtag1","hashtag2"]},{"1376447886":["hashtag1","hashtag2"]},{"1376447874":["hashtag1","hashtag2"]},{"1376447867":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376447881, 1376447857, 1376447854, 1376447886, 1376447874, 1376447867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.829126834869385 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:05:02.933248
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/47/image_16062025_15_48_04_10604.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_54_9053.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_45_10214.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_35_9948.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_24_10156.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_14_10143.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/47/image_16062025_15_48_04_10604.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_54_9053.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_45_10214.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_35_9948.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_24_10156.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_14_10143.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/47/image_16062025_15_48_04_10604.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_54_9053.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_45_10214.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_35_9948.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_24_10156.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_14_10143.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/47/image_16062025_15_48_04_10604.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_54_9053.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_45_10214.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_35_9948.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_24_10156.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_14_10143.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 144.51672077178955 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:08:02.832709
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/47/image_16062025_15_48_04_10604.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_54_9053.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_45_10214.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_35_9948.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_24_10156.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_14_10143.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/47/image_16062025_15_48_04_10604.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_54_9053.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_45_10214.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_35_9948.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_24_10156.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_14_10143.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/47/image_16062025_15_48_04_10604.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_54_9053.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_45_10214.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_35_9948.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_24_10156.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_14_10143.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/47/image_16062025_15_48_04_10604.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_54_9053.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_45_10214.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_35_9948.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_24_10156.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_14_10143.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376448407","1376448394","1376448415","1376448403","1376448412","1376448398"],"photo_ids_order":["1376448394","1376448398","1376448403","1376448407","1376448412","1376448415"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/337b0161e8ab391667aa2792c034e1ef.jpg","text":"TemporaryFile(/tmp/multipartBody7992291526987311228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917768218,"filename":"image_16062025_15_47_35_9948.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b58e45dcc8652ac2476955eb944868f6.jpg","text":"TemporaryFile(/tmp/multipartBody4890837687997358908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917768218,"filename":"image_16062025_15_48_04_10604.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/48e957c8361c345d1b9070c853d4b848.jpg","text":"TemporaryFile(/tmp/multipartBody4051158542058568406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917768218,"filename":"image_16062025_15_47_14_10143.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6b2e47434884896d1477bab199f2579b.jpg","text":"TemporaryFile(/tmp/multipartBody8485678872933151082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917768218,"filename":"image_16062025_15_47_45_10214.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/928edf6f6ea07ca447b9634dd4394ce8.jpg","text":"TemporaryFile(/tmp/multipartBody7483700336583152587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917768218,"filename":"image_16062025_15_47_24_10156.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1bd01dbd65aac33ed7ec898dc71429af.jpg","text":"TemporaryFile(/tmp/multipartBody1027105327238592398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917768218,"filename":"image_16062025_15_47_54_9053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376448403","file1":"1376448398","file0":"1376448394","file4":"1376448412","file5":"1376448415","file3":"1376448407"},"map_files_photo_id_array":[{"photo_id":"1376448415","filename":"file5"},{"photo_id":"1376448403","filename":"file2"},{"photo_id":"1376448412","filename":"file4"},{"photo_id":"1376448398","filename":"file1"},{"photo_id":"1376448394","filename":"file0"},{"photo_id":"1376448407","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376448407":["hashtag1","hashtag2"]},{"1376448394":["hashtag1","hashtag2"]},{"1376448415":["hashtag1","hashtag2"]},{"1376448403":["hashtag1","hashtag2"]},{"1376448412":["hashtag1","hashtag2"]},{"1376448398":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376448407, 1376448394, 1376448415, 1376448403, 1376448412, 1376448398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.08953142166138 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:10:02.985827
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/46/image_16062025_15_47_04_10505.jpg', 2), ('/mnt/data/16062025/15/46/image_16062025_15_46_54_9954.jpg', 2), ('/mnt/data/16062025/15/46/image_16062025_15_46_44_10169.jpg', 2), ('/mnt/data/16062025/15/46/image_16062025_15_46_34_9002.jpg', 2), ('/mnt/data/16062025/15/46/image_16062025_15_46_25_10140.jpg', 2), ('/mnt/data/16062025/15/46/image_16062025_15_46_15_10204.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/46/image_16062025_15_47_04_10505.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_54_9954.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_44_10169.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_34_9002.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_25_10140.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_15_10204.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/46/image_16062025_15_47_04_10505.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_54_9954.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_44_10169.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_34_9002.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_25_10140.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_15_10204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/46/image_16062025_15_47_04_10505.jpg
/mnt/data/16062025/15/46/image_16062025_15_46_54_9954.jpg
/mnt/data/16062025/15/46/image_16062025_15_46_44_10169.jpg
/mnt/data/16062025/15/46/image_16062025_15_46_34_9002.jpg
/mnt/data/16062025/15/46/image_16062025_15_46_25_10140.jpg
/mnt/data/16062025/15/46/image_16062025_15_46_15_10204.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376448496","1376448490","1376448478","1376448480","1376448477","1376448485"],"photo_ids_order":["1376448477","1376448478","1376448480","1376448485","1376448490","1376448496"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c01d2f46a394fa361f6069c0660aaad7.jpg","text":"TemporaryFile(/tmp/multipartBody7438811489214175509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917869942,"filename":"image_16062025_15_46_15_10204.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4def72303ac439baef9d936a9fa85578.jpg","text":"TemporaryFile(/tmp/multipartBody1429390356756382141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917869942,"filename":"image_16062025_15_46_25_10140.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b1af17ad352fab661243ca79c5785e25.jpg","text":"TemporaryFile(/tmp/multipartBody4760002165895349705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917869942,"filename":"image_16062025_15_46_54_9954.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4f25b37e54a3056544ab4cc141f0604b.jpg","text":"TemporaryFile(/tmp/multipartBody4687084670419227503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917869942,"filename":"image_16062025_15_46_44_10169.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9f3af13e86950952a50b36c347bf7b56.jpg","text":"TemporaryFile(/tmp/multipartBody4807147252780179308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917869942,"filename":"image_16062025_15_47_04_10505.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7f93628753572f2faddcf8587d327c65.jpg","text":"TemporaryFile(/tmp/multipartBody4524422611071193494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917869942,"filename":"image_16062025_15_46_34_9002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376448480","file1":"1376448478","file0":"1376448477","file4":"1376448490","file5":"1376448496","file3":"1376448485"},"map_files_photo_id_array":[{"photo_id":"1376448496","filename":"file5"},{"photo_id":"1376448480","filename":"file2"},{"photo_id":"1376448490","filename":"file4"},{"photo_id":"1376448478","filename":"file1"},{"photo_id":"1376448477","filename":"file0"},{"photo_id":"1376448485","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376448496":["hashtag1","hashtag2"]},{"1376448490":["hashtag1","hashtag2"]},{"1376448478":["hashtag1","hashtag2"]},{"1376448480":["hashtag1","hashtag2"]},{"1376448477":["hashtag1","hashtag2"]},{"1376448485":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376448496, 1376448490, 1376448478, 1376448480, 1376448477, 1376448485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.22944617271423 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:11:02.983159
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/45/image_16062025_15_46_04_10399.jpg', 2), ('/mnt/data/16062025/15/45/image_16062025_15_45_54_10055.jpg', 2), ('/mnt/data/16062025/15/45/image_16062025_15_45_44_10009.jpg', 2), ('/mnt/data/16062025/15/45/image_16062025_15_45_34_10013.jpg', 2), ('/mnt/data/16062025/15/45/image_16062025_15_45_24_9975.jpg', 2), ('/mnt/data/16062025/15/45/image_16062025_15_45_14_9938.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/45/image_16062025_15_46_04_10399.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_54_10055.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_44_10009.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_34_10013.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_24_9975.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_14_9938.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/45/image_16062025_15_46_04_10399.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_54_10055.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_44_10009.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_34_10013.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_24_9975.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_14_9938.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/45/image_16062025_15_46_04_10399.jpg
/mnt/data/16062025/15/45/image_16062025_15_45_54_10055.jpg
/mnt/data/16062025/15/45/image_16062025_15_45_44_10009.jpg
/mnt/data/16062025/15/45/image_16062025_15_45_34_10013.jpg
/mnt/data/16062025/15/45/image_16062025_15_45_24_9975.jpg
/mnt/data/16062025/15/45/image_16062025_15_45_14_9938.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376448533","1376448529","1376448526","1376448537","1376448542","1376448545"],"photo_ids_order":["1376448526","1376448529","1376448533","1376448537","1376448542","1376448545"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f806f3a0cb3ffc1ee6b3dead31d55ab5.jpg","text":"TemporaryFile(/tmp/multipartBody9180943380702468910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917937514,"filename":"image_16062025_15_45_44_10009.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f0a1b9b87046b87c7ff91b423d771dec.jpg","text":"TemporaryFile(/tmp/multipartBody28905920988608641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917937514,"filename":"image_16062025_15_45_54_10055.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1a6b0de8da08256f601c0c800ff70a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8568254566298132124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917937514,"filename":"image_16062025_15_46_04_10399.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/391f06edbbc3346d95de7c1c8f9c860a.jpg","text":"TemporaryFile(/tmp/multipartBody1943075944774933227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917937514,"filename":"image_16062025_15_45_34_10013.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b709c4a143e5a180518e659360a3534f.jpg","text":"TemporaryFile(/tmp/multipartBody8711740453795976797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917937514,"filename":"image_16062025_15_45_24_9975.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b665c2e4ec0b848ed66c6cbb9a2d2507.jpg","text":"TemporaryFile(/tmp/multipartBody57238100827262733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754917937514,"filename":"image_16062025_15_45_14_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376448533","file1":"1376448529","file0":"1376448526","file4":"1376448542","file5":"1376448545","file3":"1376448537"},"map_files_photo_id_array":[{"photo_id":"1376448545","filename":"file5"},{"photo_id":"1376448533","filename":"file2"},{"photo_id":"1376448542","filename":"file4"},{"photo_id":"1376448529","filename":"file1"},{"photo_id":"1376448526","filename":"file0"},{"photo_id":"1376448537","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376448533":["hashtag1","hashtag2"]},{"1376448529":["hashtag1","hashtag2"]},{"1376448526":["hashtag1","hashtag2"]},{"1376448537":["hashtag1","hashtag2"]},{"1376448542":["hashtag1","hashtag2"]},{"1376448545":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376448533, 1376448529, 1376448526, 1376448537, 1376448542, 1376448545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.7978150844574 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:12:02.384128
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/44/image_16062025_15_45_04_10155.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_54_9910.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_44_9910.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_34_9912.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_24_9950.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_14_9966.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/44/image_16062025_15_45_04_10155.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_54_9910.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_44_9910.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_34_9912.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_24_9950.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_14_9966.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/44/image_16062025_15_45_04_10155.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_54_9910.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_44_9910.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_34_9912.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_24_9950.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_14_9966.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/44/image_16062025_15_45_04_10155.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_54_9910.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_44_9910.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_34_9912.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_24_9950.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_14_9966.jpg
uploaded 0 photos
time to upload: 30.35684323310852 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:13:02.704608
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/44/image_16062025_15_45_04_10155.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_54_9910.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_44_9910.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_34_9912.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_24_9950.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_14_9966.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/44/image_16062025_15_45_04_10155.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_54_9910.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_44_9910.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_34_9912.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_24_9950.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_14_9966.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/44/image_16062025_15_45_04_10155.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_54_9910.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_44_9910.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_34_9912.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_24_9950.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_14_9966.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/44/image_16062025_15_45_04_10155.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_54_9910.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_44_9910.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_34_9912.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_24_9950.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_14_9966.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376448580","1376448592","1376448582","1376448579","1376448587","1376448596"],"photo_ids_order":["1376448579","1376448580","1376448582","1376448587","1376448592","1376448596"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/deb1e76e9b1aac6b00835c7a743b35c2.jpg","text":"TemporaryFile(/tmp/multipartBody8547138605372326582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918051497,"filename":"image_16062025_15_44_54_9910.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e3ed4c13499cecb4f9b8e774afba6619.jpg","text":"TemporaryFile(/tmp/multipartBody5229250313694431472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918051497,"filename":"image_16062025_15_44_24_9950.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d82e9485049e80570e4e42ca8c9e0601.jpg","text":"TemporaryFile(/tmp/multipartBody3119713080685947380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918051497,"filename":"image_16062025_15_44_44_9910.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cf3afa8366f0e6de57de3f99a6c13276.jpg","text":"TemporaryFile(/tmp/multipartBody2675974950947231988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918051497,"filename":"image_16062025_15_45_04_10155.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5ffea9fca50fe309d7d3840526aec4a5.jpg","text":"TemporaryFile(/tmp/multipartBody1271350787621221274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918051497,"filename":"image_16062025_15_44_34_9912.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/61e12b14bd86fb5ed55e8de3e3321ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7479953408276265841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918051497,"filename":"image_16062025_15_44_14_9966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376448582","file1":"1376448580","file0":"1376448579","file4":"1376448592","file5":"1376448596","file3":"1376448587"},"map_files_photo_id_array":[{"photo_id":"1376448596","filename":"file5"},{"photo_id":"1376448582","filename":"file2"},{"photo_id":"1376448592","filename":"file4"},{"photo_id":"1376448580","filename":"file1"},{"photo_id":"1376448579","filename":"file0"},{"photo_id":"1376448587","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376448580":["hashtag1","hashtag2"]},{"1376448592":["hashtag1","hashtag2"]},{"1376448582":["hashtag1","hashtag2"]},{"1376448579":["hashtag1","hashtag2"]},{"1376448587":["hashtag1","hashtag2"]},{"1376448596":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376448580, 1376448592, 1376448582, 1376448579, 1376448587, 1376448596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.78105807304382 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:14:03.422935
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg
uploaded 0 photos
time to upload: 30.365220069885254 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:15:03.512394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg
uploaded 0 photos
time to upload: 30.32816219329834 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:16:02.935029
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376448682","1376448676","1376448679","1376448687","1376448692","1376448680"],"photo_ids_order":["1376448676","1376448679","1376448680","1376448682","1376448687","1376448692"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/73261ab28bd60bd1c69c4582ca4ea75f.jpg","text":"TemporaryFile(/tmp/multipartBody6068418951768319160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918226322,"filename":"image_16062025_15_43_34_10017.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/92cef7fc4b4cec070329a9cb55812c89.jpg","text":"TemporaryFile(/tmp/multipartBody8509638808982608689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918226322,"filename":"image_16062025_15_44_04_10278.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ffa02125942a4ecf89bc065933ebd7bc.jpg","text":"TemporaryFile(/tmp/multipartBody2016435272740701745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918226322,"filename":"image_16062025_15_43_54_9946.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/11c81eff9f7e57382b5154575f469d3f.jpg","text":"TemporaryFile(/tmp/multipartBody3110927995665348994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918226322,"filename":"image_16062025_15_43_24_10107.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/98c8cb7dc5dbf3340454bde4cfaeaf82.jpg","text":"TemporaryFile(/tmp/multipartBody8089406605914026989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918226322,"filename":"image_16062025_15_43_14_10075.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5ed94d3df2d1aebe19223effcf52c625.jpg","text":"TemporaryFile(/tmp/multipartBody5224994632968957701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918226322,"filename":"image_16062025_15_43_44_9977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376448680","file1":"1376448679","file0":"1376448676","file4":"1376448687","file5":"1376448692","file3":"1376448682"},"map_files_photo_id_array":[{"photo_id":"1376448692","filename":"file5"},{"photo_id":"1376448680","filename":"file2"},{"photo_id":"1376448687","filename":"file4"},{"photo_id":"1376448679","filename":"file1"},{"photo_id":"1376448676","filename":"file0"},{"photo_id":"1376448682","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376448682":["hashtag1","hashtag2"]},{"1376448676":["hashtag1","hashtag2"]},{"1376448679":["hashtag1","hashtag2"]},{"1376448687":["hashtag1","hashtag2"]},{"1376448692":["hashtag1","hashtag2"]},{"1376448680":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376448682, 1376448676, 1376448679, 1376448687, 1376448692, 1376448680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.68966460227966 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:17:02.700210
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 21.605937957763672 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:18:02.869759
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg
uploaded 0 photos
time to upload: 30.296221494674683 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:19:02.848431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376448856","1376448850","1376448835","1376448840","1376448846","1376448830"],"photo_ids_order":["1376448830","1376448835","1376448840","1376448846","1376448850","1376448856"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/09552df251eac6bc0ecdaa4042392514.jpg","text":"TemporaryFile(/tmp/multipartBody263603592542808246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918422172,"filename":"image_16062025_15_42_14_10067.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8048111365fc033d8c91efb3621668a4.jpg","text":"TemporaryFile(/tmp/multipartBody1406077639810485315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918422172,"filename":"image_16062025_15_42_24_10155.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a7b1c93d21e7d88521f0aa09c96009b2.jpg","text":"TemporaryFile(/tmp/multipartBody6126531309022057988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918422172,"filename":"image_16062025_15_42_55_10042.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c365e692c707a42b85037f8a2aa2b7c8.jpg","text":"TemporaryFile(/tmp/multipartBody5310962206184544325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918422172,"filename":"image_16062025_15_42_45_10043.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d675118373217ac2b154a6269e64f3a6.jpg","text":"TemporaryFile(/tmp/multipartBody3783109984390309343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918422172,"filename":"image_16062025_15_42_35_10022.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fd328512e61f6592a6802c6bdb2f467a.jpg","text":"TemporaryFile(/tmp/multipartBody2694606736677208802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918422172,"filename":"image_16062025_15_43_04_9177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376448840","file1":"1376448835","file0":"1376448830","file4":"1376448850","file5":"1376448856","file3":"1376448846"},"map_files_photo_id_array":[{"photo_id":"1376448856","filename":"file5"},{"photo_id":"1376448840","filename":"file2"},{"photo_id":"1376448850","filename":"file4"},{"photo_id":"1376448835","filename":"file1"},{"photo_id":"1376448830","filename":"file0"},{"photo_id":"1376448846","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376448856":["hashtag1","hashtag2"]},{"1376448850":["hashtag1","hashtag2"]},{"1376448835":["hashtag1","hashtag2"]},{"1376448840":["hashtag1","hashtag2"]},{"1376448846":["hashtag1","hashtag2"]},{"1376448830":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376448856, 1376448850, 1376448835, 1376448840, 1376448846, 1376448830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.14623546600342 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:21:02.853291
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg
uploaded 0 photos
time to upload: 2.754995346069336 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:22:02.582119
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg
uploaded 0 photos
time to upload: 4.730778932571411 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:23:02.194999
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376448982","1376449017","1376449011","1376448992","1376448989","1376449004"],"photo_ids_order":["1376448982","1376448989","1376448992","1376449004","1376449011","1376449017"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/99ff86afdf1942053d3b639615a29eef.jpg","text":"TemporaryFile(/tmp/multipartBody6774120985824266244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918662340,"filename":"image_16062025_15_42_04_10328.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cfa44e0071f184987af69178da2d5489.jpg","text":"TemporaryFile(/tmp/multipartBody4039511310430847198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918662340,"filename":"image_16062025_15_41_14_9965.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b132375daa49f6381cdf303e787e7bb1.jpg","text":"TemporaryFile(/tmp/multipartBody3291760318817657563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918662340,"filename":"image_16062025_15_41_24_9963.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/841d14887e3dd13f16f316addeaea10b.jpg","text":"TemporaryFile(/tmp/multipartBody4495120446042745992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918662340,"filename":"image_16062025_15_41_44_10062.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0bfc22408133adc2dcceea3453a5341a.jpg","text":"TemporaryFile(/tmp/multipartBody157084683141524075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918662340,"filename":"image_16062025_15_41_54_10025.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dfc27e19f943a1ae402b87f943717115.jpg","text":"TemporaryFile(/tmp/multipartBody6136705752088978977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754918662340,"filename":"image_16062025_15_41_34_10086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376448992","file1":"1376448989","file0":"1376448982","file4":"1376449011","file5":"1376449017","file3":"1376449004"},"map_files_photo_id_array":[{"photo_id":"1376449017","filename":"file5"},{"photo_id":"1376448992","filename":"file2"},{"photo_id":"1376449011","filename":"file4"},{"photo_id":"1376448989","filename":"file1"},{"photo_id":"1376448982","filename":"file0"},{"photo_id":"1376449004","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376448982":["hashtag1","hashtag2"]},{"1376449017":["hashtag1","hashtag2"]},{"1376449011":["hashtag1","hashtag2"]},{"1376448992":["hashtag1","hashtag2"]},{"1376448989":["hashtag1","hashtag2"]},{"1376449004":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376448982, 1376449017, 1376449011, 1376448992, 1376448989, 1376449004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.81909680366516 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:25:03.210568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/40/image_16062025_15_41_04_10052.jpg', 2), ('/mnt/data/16062025/15/40/image_16062025_15_40_54_9928.jpg', 2), ('/mnt/data/16062025/15/40/image_16062025_15_40_44_9921.jpg', 2), ('/mnt/data/16062025/15/40/image_16062025_15_40_34_9917.jpg', 2), ('/mnt/data/16062025/15/40/image_16062025_15_40_24_9930.jpg', 2), ('/mnt/data/16062025/15/39/image_16062025_15_40_04_10150.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/40/image_16062025_15_41_04_10052.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_54_9928.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_44_9921.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_34_9917.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_24_9930.jpg', '/mnt/data/16062025/15/39/image_16062025_15_40_04_10150.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/40/image_16062025_15_41_04_10052.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_54_9928.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_44_9921.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_34_9917.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_24_9930.jpg', '/mnt/data/16062025/15/39/image_16062025_15_40_04_10150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/40/image_16062025_15_41_04_10052.jpg
/mnt/data/16062025/15/40/image_16062025_15_40_54_9928.jpg
/mnt/data/16062025/15/40/image_16062025_15_40_44_9921.jpg
/mnt/data/16062025/15/40/image_16062025_15_40_34_9917.jpg
/mnt/data/16062025/15/40/image_16062025_15_40_24_9930.jpg
/mnt/data/16062025/15/39/image_16062025_15_40_04_10150.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 124.83606052398682 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:29:02.505513
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/40/image_16062025_15_41_04_10052.jpg', 2), ('/mnt/data/16062025/15/40/image_16062025_15_40_54_9928.jpg', 2), ('/mnt/data/16062025/15/40/image_16062025_15_40_44_9921.jpg', 2), ('/mnt/data/16062025/15/40/image_16062025_15_40_34_9917.jpg', 2), ('/mnt/data/16062025/15/40/image_16062025_15_40_24_9930.jpg', 2), ('/mnt/data/16062025/15/39/image_16062025_15_40_04_10150.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/40/image_16062025_15_41_04_10052.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_54_9928.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_44_9921.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_34_9917.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_24_9930.jpg', '/mnt/data/16062025/15/39/image_16062025_15_40_04_10150.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/40/image_16062025_15_41_04_10052.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_54_9928.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_44_9921.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_34_9917.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_24_9930.jpg', '/mnt/data/16062025/15/39/image_16062025_15_40_04_10150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/40/image_16062025_15_41_04_10052.jpg
/mnt/data/16062025/15/40/image_16062025_15_40_54_9928.jpg
/mnt/data/16062025/15/40/image_16062025_15_40_44_9921.jpg
/mnt/data/16062025/15/40/image_16062025_15_40_34_9917.jpg
/mnt/data/16062025/15/40/image_16062025_15_40_24_9930.jpg
/mnt/data/16062025/15/39/image_16062025_15_40_04_10150.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376449267","1376449257","1376449251","1376449248","1376449271","1376449262"],"photo_ids_order":["1376449248","1376449251","1376449257","1376449262","1376449267","1376449271"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4cefbb6f12e3b2af64275d7233656829.jpg","text":"TemporaryFile(/tmp/multipartBody358513779950923523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919013826,"filename":"image_16062025_15_40_24_9930.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/37622965404935ca3955d9e5990ba504.jpg","text":"TemporaryFile(/tmp/multipartBody8086114620857396792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919013826,"filename":"image_16062025_15_40_44_9921.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/16bebdc16cf250cd5d79658b6fa02c9f.jpg","text":"TemporaryFile(/tmp/multipartBody4182574818222611517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919013826,"filename":"image_16062025_15_40_54_9928.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d2eb34a553b9a4fb322153b46a098c40.jpg","text":"TemporaryFile(/tmp/multipartBody546580365037798495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919013826,"filename":"image_16062025_15_41_04_10052.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d365c773770c4e3f60dc99f4420794d6.jpg","text":"TemporaryFile(/tmp/multipartBody6852135135048601399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919013826,"filename":"image_16062025_15_40_04_10150.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a8bbac56fef07179d26b53e2d6568632.jpg","text":"TemporaryFile(/tmp/multipartBody1210593087290307347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919013826,"filename":"image_16062025_15_40_34_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376449257","file1":"1376449251","file0":"1376449248","file4":"1376449267","file5":"1376449271","file3":"1376449262"},"map_files_photo_id_array":[{"photo_id":"1376449271","filename":"file5"},{"photo_id":"1376449257","filename":"file2"},{"photo_id":"1376449267","filename":"file4"},{"photo_id":"1376449251","filename":"file1"},{"photo_id":"1376449248","filename":"file0"},{"photo_id":"1376449262","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376449267":["hashtag1","hashtag2"]},{"1376449257":["hashtag1","hashtag2"]},{"1376449251":["hashtag1","hashtag2"]},{"1376449248":["hashtag1","hashtag2"]},{"1376449271":["hashtag1","hashtag2"]},{"1376449262":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376449267, 1376449257, 1376449251, 1376449248, 1376449271, 1376449262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.46338367462158 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:30:03.310484
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/39/image_16062025_15_39_54_9908.jpg', 2), ('/mnt/data/16062025/15/39/image_16062025_15_39_44_9964.jpg', 2), ('/mnt/data/16062025/15/39/image_16062025_15_39_34_9944.jpg', 2), ('/mnt/data/16062025/15/39/image_16062025_15_39_24_10040.jpg', 2), ('/mnt/data/16062025/15/39/image_16062025_15_39_14_9922.jpg', 2), ('/mnt/data/16062025/15/38/image_16062025_15_39_04_9991.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/39/image_16062025_15_39_54_9908.jpg', '/mnt/data/16062025/15/39/image_16062025_15_39_44_9964.jpg', '/mnt/data/16062025/15/39/image_16062025_15_39_34_9944.jpg', '/mnt/data/16062025/15/39/image_16062025_15_39_24_10040.jpg', '/mnt/data/16062025/15/39/image_16062025_15_39_14_9922.jpg', '/mnt/data/16062025/15/38/image_16062025_15_39_04_9991.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/39/image_16062025_15_39_54_9908.jpg', '/mnt/data/16062025/15/39/image_16062025_15_39_44_9964.jpg', '/mnt/data/16062025/15/39/image_16062025_15_39_34_9944.jpg', '/mnt/data/16062025/15/39/image_16062025_15_39_24_10040.jpg', '/mnt/data/16062025/15/39/image_16062025_15_39_14_9922.jpg', '/mnt/data/16062025/15/38/image_16062025_15_39_04_9991.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/39/image_16062025_15_39_54_9908.jpg
/mnt/data/16062025/15/39/image_16062025_15_39_44_9964.jpg
/mnt/data/16062025/15/39/image_16062025_15_39_34_9944.jpg
/mnt/data/16062025/15/39/image_16062025_15_39_24_10040.jpg
/mnt/data/16062025/15/39/image_16062025_15_39_14_9922.jpg
/mnt/data/16062025/15/38/image_16062025_15_39_04_9991.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376449303","1376449293","1376449299","1376449310","1376449307","1376449291"],"photo_ids_order":["1376449291","1376449293","1376449299","1376449303","1376449307","1376449310"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9e6fb914773910cee2985344063e2b07.jpg","text":"TemporaryFile(/tmp/multipartBody109561900802785216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919074122,"filename":"image_16062025_15_39_24_10040.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/998b9f3602892dbf7efe178f6521fa0d.jpg","text":"TemporaryFile(/tmp/multipartBody8972709832988331322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919074122,"filename":"image_16062025_15_39_44_9964.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a1c4ec2a0d0a39b5ead8622a6817f755.jpg","text":"TemporaryFile(/tmp/multipartBody4934868179282853497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919074122,"filename":"image_16062025_15_39_34_9944.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/51489063c03418f680877cde200d49a8.jpg","text":"TemporaryFile(/tmp/multipartBody5810939447137264256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919074122,"filename":"image_16062025_15_39_04_9991.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/60645bca6433367f3456e617079451b4.jpg","text":"TemporaryFile(/tmp/multipartBody4548290721824138370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919074122,"filename":"image_16062025_15_39_14_9922.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d8b7794e4e189fe2b4414165efb980ff.jpg","text":"TemporaryFile(/tmp/multipartBody2497976628050018315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919074122,"filename":"image_16062025_15_39_54_9908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376449299","file1":"1376449293","file0":"1376449291","file4":"1376449307","file5":"1376449310","file3":"1376449303"},"map_files_photo_id_array":[{"photo_id":"1376449310","filename":"file5"},{"photo_id":"1376449299","filename":"file2"},{"photo_id":"1376449307","filename":"file4"},{"photo_id":"1376449293","filename":"file1"},{"photo_id":"1376449291","filename":"file0"},{"photo_id":"1376449303","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376449303":["hashtag1","hashtag2"]},{"1376449293":["hashtag1","hashtag2"]},{"1376449299":["hashtag1","hashtag2"]},{"1376449310":["hashtag1","hashtag2"]},{"1376449307":["hashtag1","hashtag2"]},{"1376449291":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376449303, 1376449293, 1376449299, 1376449310, 1376449307, 1376449291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.124359130859375 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:31:03.290409
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/38/image_16062025_15_38_54_9960.jpg', 2), ('/mnt/data/16062025/15/38/image_16062025_15_38_44_9987.jpg', 2), ('/mnt/data/16062025/15/38/image_16062025_15_38_34_9921.jpg', 2), ('/mnt/data/16062025/15/38/image_16062025_15_38_24_9973.jpg', 2), ('/mnt/data/16062025/15/38/image_16062025_15_38_14_10041.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_38_04_10303.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/38/image_16062025_15_38_54_9960.jpg', '/mnt/data/16062025/15/38/image_16062025_15_38_44_9987.jpg', '/mnt/data/16062025/15/38/image_16062025_15_38_34_9921.jpg', '/mnt/data/16062025/15/38/image_16062025_15_38_24_9973.jpg', '/mnt/data/16062025/15/38/image_16062025_15_38_14_10041.jpg', '/mnt/data/16062025/15/37/image_16062025_15_38_04_10303.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/38/image_16062025_15_38_54_9960.jpg', '/mnt/data/16062025/15/38/image_16062025_15_38_44_9987.jpg', '/mnt/data/16062025/15/38/image_16062025_15_38_34_9921.jpg', '/mnt/data/16062025/15/38/image_16062025_15_38_24_9973.jpg', '/mnt/data/16062025/15/38/image_16062025_15_38_14_10041.jpg', '/mnt/data/16062025/15/37/image_16062025_15_38_04_10303.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/38/image_16062025_15_38_54_9960.jpg
/mnt/data/16062025/15/38/image_16062025_15_38_44_9987.jpg
/mnt/data/16062025/15/38/image_16062025_15_38_34_9921.jpg
/mnt/data/16062025/15/38/image_16062025_15_38_24_9973.jpg
/mnt/data/16062025/15/38/image_16062025_15_38_14_10041.jpg
/mnt/data/16062025/15/37/image_16062025_15_38_04_10303.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376449347","1376449326","1376449335","1376449340","1376449322","1376449331"],"photo_ids_order":["1376449322","1376449326","1376449331","1376449335","1376449340","1376449347"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/81dc01b2b3e03b7389174b1b54e0e625.jpg","text":"TemporaryFile(/tmp/multipartBody3231263312106953146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919135148,"filename":"image_16062025_15_38_04_10303.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f4081b5e3b93795084773b716de097c9.jpg","text":"TemporaryFile(/tmp/multipartBody2275010725697581192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919135148,"filename":"image_16062025_15_38_44_9987.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e38d001fc0e76b922fc8954857b39894.jpg","text":"TemporaryFile(/tmp/multipartBody1640551667440170177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919135148,"filename":"image_16062025_15_38_24_9973.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/605f28f12ef2c7c93a32208994a9fb93.jpg","text":"TemporaryFile(/tmp/multipartBody1306414390902710348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919135148,"filename":"image_16062025_15_38_14_10041.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/07f2c528471a02f0a4b68c27dccfce65.jpg","text":"TemporaryFile(/tmp/multipartBody8385136345327419572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919135148,"filename":"image_16062025_15_38_54_9960.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8fd03e5e3dc984e3c78b97f180ed8bfb.jpg","text":"TemporaryFile(/tmp/multipartBody1428871711879117471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919135148,"filename":"image_16062025_15_38_34_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376449331","file1":"1376449326","file0":"1376449322","file4":"1376449340","file5":"1376449347","file3":"1376449335"},"map_files_photo_id_array":[{"photo_id":"1376449347","filename":"file5"},{"photo_id":"1376449331","filename":"file2"},{"photo_id":"1376449340","filename":"file4"},{"photo_id":"1376449326","filename":"file1"},{"photo_id":"1376449322","filename":"file0"},{"photo_id":"1376449335","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376449347":["hashtag1","hashtag2"]},{"1376449326":["hashtag1","hashtag2"]},{"1376449335":["hashtag1","hashtag2"]},{"1376449340":["hashtag1","hashtag2"]},{"1376449322":["hashtag1","hashtag2"]},{"1376449331":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376449347, 1376449326, 1376449335, 1376449340, 1376449322, 1376449331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.5369074344635 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:32:03.116712
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg', 2), ('/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg', '/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg', '/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg
/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.83455729484558 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:35:02.483136
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg', 2), ('/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg', '/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg', '/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg
/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 147.70663404464722 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:38:02.540305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg', 2), ('/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg', '/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg', '/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg
/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376449564","1376449584","1376449578","1376449581","1376449575","1376449568"],"photo_ids_order":["1376449564","1376449568","1376449575","1376449578","1376449581","1376449584"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dd145f358ecc587f4588ae3bdd4e55e1.jpg","text":"TemporaryFile(/tmp/multipartBody6199471294703200984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919557339,"filename":"image_16062025_15_37_54_10065.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/94f99f9d9d3dd79a952be028963bb210.jpg","text":"TemporaryFile(/tmp/multipartBody9142913311174751691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919557339,"filename":"image_16062025_15_37_05_10216.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/eebe1c334d5155828886727c91558730.jpg","text":"TemporaryFile(/tmp/multipartBody5149397769720757562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919557339,"filename":"image_16062025_15_37_24_10133.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f26feaeb8038ced6a7f717ad6bb77da0.jpg","text":"TemporaryFile(/tmp/multipartBody5973353873121751697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919557339,"filename":"image_16062025_15_37_14_8883.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dd507a002fc98918d6465f2050601ef0.jpg","text":"TemporaryFile(/tmp/multipartBody7124491768552006992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919557339,"filename":"image_16062025_15_37_34_10096.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/973e4fcf3d36efd7bb2a04c8c93994d8.jpg","text":"TemporaryFile(/tmp/multipartBody1000074101789579348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919557339,"filename":"image_16062025_15_37_44_10093.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376449575","file1":"1376449568","file0":"1376449564","file4":"1376449581","file5":"1376449584","file3":"1376449578"},"map_files_photo_id_array":[{"photo_id":"1376449584","filename":"file5"},{"photo_id":"1376449575","filename":"file2"},{"photo_id":"1376449581","filename":"file4"},{"photo_id":"1376449568","filename":"file1"},{"photo_id":"1376449564","filename":"file0"},{"photo_id":"1376449578","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376449564":["hashtag1","hashtag2"]},{"1376449584":["hashtag1","hashtag2"]},{"1376449578":["hashtag1","hashtag2"]},{"1376449581":["hashtag1","hashtag2"]},{"1376449575":["hashtag1","hashtag2"]},{"1376449568":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376449564, 1376449584, 1376449578, 1376449581, 1376449575, 1376449568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.503278970718384 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:39:02.848730
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/36/image_16062025_15_36_55_10033.jpg', 2), ('/mnt/data/16062025/15/36/image_16062025_15_36_44_9987.jpg', 2), ('/mnt/data/16062025/15/36/image_16062025_15_36_35_9941.jpg', 2), ('/mnt/data/16062025/15/36/image_16062025_15_36_25_9938.jpg', 2), ('/mnt/data/16062025/15/36/image_16062025_15_36_15_10048.jpg', 2), ('/mnt/data/16062025/15/35/image_16062025_15_36_05_10303.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/36/image_16062025_15_36_55_10033.jpg', '/mnt/data/16062025/15/36/image_16062025_15_36_44_9987.jpg', '/mnt/data/16062025/15/36/image_16062025_15_36_35_9941.jpg', '/mnt/data/16062025/15/36/image_16062025_15_36_25_9938.jpg', '/mnt/data/16062025/15/36/image_16062025_15_36_15_10048.jpg', '/mnt/data/16062025/15/35/image_16062025_15_36_05_10303.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/36/image_16062025_15_36_55_10033.jpg', '/mnt/data/16062025/15/36/image_16062025_15_36_44_9987.jpg', '/mnt/data/16062025/15/36/image_16062025_15_36_35_9941.jpg', '/mnt/data/16062025/15/36/image_16062025_15_36_25_9938.jpg', '/mnt/data/16062025/15/36/image_16062025_15_36_15_10048.jpg', '/mnt/data/16062025/15/35/image_16062025_15_36_05_10303.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/36/image_16062025_15_36_55_10033.jpg
/mnt/data/16062025/15/36/image_16062025_15_36_44_9987.jpg
/mnt/data/16062025/15/36/image_16062025_15_36_35_9941.jpg
/mnt/data/16062025/15/36/image_16062025_15_36_25_9938.jpg
/mnt/data/16062025/15/36/image_16062025_15_36_15_10048.jpg
/mnt/data/16062025/15/35/image_16062025_15_36_05_10303.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376449618","1376449615","1376449611","1376449605","1376449598","1376449601"],"photo_ids_order":["1376449598","1376449601","1376449605","1376449611","1376449615","1376449618"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/decb3a75ff80c6093a3cd4d1de0a6c62.jpg","text":"TemporaryFile(/tmp/multipartBody7680131760424547318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919610603,"filename":"image_16062025_15_36_05_10303.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a8f445b43ef83b799b3fd759b6761597.jpg","text":"TemporaryFile(/tmp/multipartBody6117170225451314252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919610603,"filename":"image_16062025_15_36_15_10048.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dd256bc1fb3a0d1ad7242d986d347739.jpg","text":"TemporaryFile(/tmp/multipartBody4985276244925708163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919610603,"filename":"image_16062025_15_36_25_9938.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f747d52f480cf510b58fb5ba43197c36.jpg","text":"TemporaryFile(/tmp/multipartBody537260823103991041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919610603,"filename":"image_16062025_15_36_35_9941.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6245b3bb370b773acc8b3c91301f7781.jpg","text":"TemporaryFile(/tmp/multipartBody7060015103581941889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919610603,"filename":"image_16062025_15_36_55_10033.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c5d702379ecad6dddf764ace539d818a.jpg","text":"TemporaryFile(/tmp/multipartBody239325166986854064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919610603,"filename":"image_16062025_15_36_44_9987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376449605","file1":"1376449601","file0":"1376449598","file4":"1376449615","file5":"1376449618","file3":"1376449611"},"map_files_photo_id_array":[{"photo_id":"1376449618","filename":"file5"},{"photo_id":"1376449605","filename":"file2"},{"photo_id":"1376449615","filename":"file4"},{"photo_id":"1376449601","filename":"file1"},{"photo_id":"1376449598","filename":"file0"},{"photo_id":"1376449611","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376449618":["hashtag1","hashtag2"]},{"1376449615":["hashtag1","hashtag2"]},{"1376449611":["hashtag1","hashtag2"]},{"1376449605":["hashtag1","hashtag2"]},{"1376449598":["hashtag1","hashtag2"]},{"1376449601":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376449618, 1376449615, 1376449611, 1376449605, 1376449598, 1376449601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.89843964576721 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:40:03.311136
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/35/image_16062025_15_35_54_9965.jpg', 2), ('/mnt/data/16062025/15/35/image_16062025_15_35_44_9936.jpg', 2), ('/mnt/data/16062025/15/35/image_16062025_15_35_34_9944.jpg', 2), ('/mnt/data/16062025/15/35/image_16062025_15_35_24_9940.jpg', 2), ('/mnt/data/16062025/15/35/image_16062025_15_35_14_9968.jpg', 2), ('/mnt/data/16062025/15/34/image_16062025_15_35_05_10118.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/35/image_16062025_15_35_54_9965.jpg', '/mnt/data/16062025/15/35/image_16062025_15_35_44_9936.jpg', '/mnt/data/16062025/15/35/image_16062025_15_35_34_9944.jpg', '/mnt/data/16062025/15/35/image_16062025_15_35_24_9940.jpg', '/mnt/data/16062025/15/35/image_16062025_15_35_14_9968.jpg', '/mnt/data/16062025/15/34/image_16062025_15_35_05_10118.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/35/image_16062025_15_35_54_9965.jpg', '/mnt/data/16062025/15/35/image_16062025_15_35_44_9936.jpg', '/mnt/data/16062025/15/35/image_16062025_15_35_34_9944.jpg', '/mnt/data/16062025/15/35/image_16062025_15_35_24_9940.jpg', '/mnt/data/16062025/15/35/image_16062025_15_35_14_9968.jpg', '/mnt/data/16062025/15/34/image_16062025_15_35_05_10118.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/35/image_16062025_15_35_54_9965.jpg
/mnt/data/16062025/15/35/image_16062025_15_35_44_9936.jpg
/mnt/data/16062025/15/35/image_16062025_15_35_34_9944.jpg
/mnt/data/16062025/15/35/image_16062025_15_35_24_9940.jpg
/mnt/data/16062025/15/35/image_16062025_15_35_14_9968.jpg
/mnt/data/16062025/15/34/image_16062025_15_35_05_10118.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376449651","1376449648","1376449661","1376449664","1376449658","1376449654"],"photo_ids_order":["1376449648","1376449651","1376449654","1376449658","1376449661","1376449664"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c7bc153c0cf1c8dcc764c60b84407544.jpg","text":"TemporaryFile(/tmp/multipartBody9135484498799078872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919679350,"filename":"image_16062025_15_35_44_9936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f96bf2833a41d3447dec7769ab5884a1.jpg","text":"TemporaryFile(/tmp/multipartBody8610118231331597425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919679350,"filename":"image_16062025_15_35_54_9965.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e11b2114e405ec83564372f45d13e09f.jpg","text":"TemporaryFile(/tmp/multipartBody2786590744012056637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919679350,"filename":"image_16062025_15_35_14_9968.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/56a2d91c05778fcf419978ce6dcd7ffb.jpg","text":"TemporaryFile(/tmp/multipartBody4801246334354934410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919679350,"filename":"image_16062025_15_35_05_10118.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/079eb6342ee924245572660c1b96ee61.jpg","text":"TemporaryFile(/tmp/multipartBody4511287040173844642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919679350,"filename":"image_16062025_15_35_24_9940.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ba4e7031479f07f5734b6923f4e62adc.jpg","text":"TemporaryFile(/tmp/multipartBody2046354594422888970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919679350,"filename":"image_16062025_15_35_34_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376449654","file1":"1376449651","file0":"1376449648","file4":"1376449661","file5":"1376449664","file3":"1376449658"},"map_files_photo_id_array":[{"photo_id":"1376449664","filename":"file5"},{"photo_id":"1376449654","filename":"file2"},{"photo_id":"1376449661","filename":"file4"},{"photo_id":"1376449651","filename":"file1"},{"photo_id":"1376449648","filename":"file0"},{"photo_id":"1376449658","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376449651":["hashtag1","hashtag2"]},{"1376449648":["hashtag1","hashtag2"]},{"1376449661":["hashtag1","hashtag2"]},{"1376449664":["hashtag1","hashtag2"]},{"1376449658":["hashtag1","hashtag2"]},{"1376449654":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376449651, 1376449648, 1376449661, 1376449664, 1376449658, 1376449654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.81764054298401 secondes ---
MMMMMM fin de la fonction upload
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:42:02.983923
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/34/image_16062025_15_34_54_9972.jpg', 2), ('/mnt/data/16062025/15/34/image_16062025_15_34_44_9955.jpg', 2), ('/mnt/data/16062025/15/34/image_16062025_15_34_34_9957.jpg', 2), ('/mnt/data/16062025/15/34/image_16062025_15_34_25_9953.jpg', 2), ('/mnt/data/16062025/15/34/image_16062025_15_34_15_10191.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_34_04_10450.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/34/image_16062025_15_34_54_9972.jpg', '/mnt/data/16062025/15/34/image_16062025_15_34_44_9955.jpg', '/mnt/data/16062025/15/34/image_16062025_15_34_34_9957.jpg', '/mnt/data/16062025/15/34/image_16062025_15_34_25_9953.jpg', '/mnt/data/16062025/15/34/image_16062025_15_34_15_10191.jpg', '/mnt/data/16062025/15/33/image_16062025_15_34_04_10450.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/34/image_16062025_15_34_54_9972.jpg', '/mnt/data/16062025/15/34/image_16062025_15_34_44_9955.jpg', '/mnt/data/16062025/15/34/image_16062025_15_34_34_9957.jpg', '/mnt/data/16062025/15/34/image_16062025_15_34_25_9953.jpg', '/mnt/data/16062025/15/34/image_16062025_15_34_15_10191.jpg', '/mnt/data/16062025/15/33/image_16062025_15_34_04_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/34/image_16062025_15_34_54_9972.jpg
/mnt/data/16062025/15/34/image_16062025_15_34_44_9955.jpg
/mnt/data/16062025/15/34/image_16062025_15_34_34_9957.jpg
/mnt/data/16062025/15/34/image_16062025_15_34_25_9953.jpg
/mnt/data/16062025/15/34/image_16062025_15_34_15_10191.jpg
/mnt/data/16062025/15/33/image_16062025_15_34_04_10450.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376449714","1376449722","1376449704","1376449709","1376449699","1376449718"],"photo_ids_order":["1376449699","1376449704","1376449709","1376449714","1376449718","1376449722"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c71094e9fcc51172800984638000d06d.jpg","text":"TemporaryFile(/tmp/multipartBody4252892290310230364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919799814,"filename":"image_16062025_15_34_25_9953.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/22e3d5996fee2a602b18b808d707155a.jpg","text":"TemporaryFile(/tmp/multipartBody4130239604504693800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919799814,"filename":"image_16062025_15_34_04_10450.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b0ae716393025feaed5f76539815cad7.jpg","text":"TemporaryFile(/tmp/multipartBody5989193806905671159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919799814,"filename":"image_16062025_15_34_44_9955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/699bc354d2c8baefdbc84d66ec2e12d2.jpg","text":"TemporaryFile(/tmp/multipartBody3245466087800397782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919799814,"filename":"image_16062025_15_34_34_9957.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/682ba10a0e94a69f6e30b34c606658f9.jpg","text":"TemporaryFile(/tmp/multipartBody1709189117027358733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919799814,"filename":"image_16062025_15_34_54_9972.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5dee894f95b34e23edff9e175b2d80b5.jpg","text":"TemporaryFile(/tmp/multipartBody3963883098729245676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754919799814,"filename":"image_16062025_15_34_15_10191.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376449709","file1":"1376449704","file0":"1376449699","file4":"1376449718","file5":"1376449722","file3":"1376449714"},"map_files_photo_id_array":[{"photo_id":"1376449722","filename":"file5"},{"photo_id":"1376449709","filename":"file2"},{"photo_id":"1376449718","filename":"file4"},{"photo_id":"1376449704","filename":"file1"},{"photo_id":"1376449699","filename":"file0"},{"photo_id":"1376449714","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376449714":["hashtag1","hashtag2"]},{"1376449722":["hashtag1","hashtag2"]},{"1376449704":["hashtag1","hashtag2"]},{"1376449709":["hashtag1","hashtag2"]},{"1376449699":["hashtag1","hashtag2"]},{"1376449718":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376449714, 1376449722, 1376449704, 1376449709, 1376449699, 1376449718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.00787162780762 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:43:02.958086
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', 2), ('/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', '/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', '/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg
/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 22.344496726989746 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:44:02.553831
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', 2), ('/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', '/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', '/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg
/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 19.42074465751648 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:45:02.517391
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', 2), ('/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', '/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', '/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg
/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 135.1005494594574 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:48:02.492797
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', 2), ('/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', '/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', '/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg
/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376449893","1376449887","1376449898","1376449904","1376449901","1376449891"],"photo_ids_order":["1376449887","1376449891","1376449893","1376449898","1376449901","1376449904"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6f2ab176a4a3f66b0990fea315fe70a1.jpg","text":"TemporaryFile(/tmp/multipartBody3943472673955658987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920150813,"filename":"image_16062025_15_33_35_10384.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e3888be978cb8dcab460320ad73db724.jpg","text":"TemporaryFile(/tmp/multipartBody1099480954342196083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920150813,"filename":"image_16062025_15_33_54_10118.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bd8384e7e62d0090b7daad17417e27e0.jpg","text":"TemporaryFile(/tmp/multipartBody841425755736604054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920150813,"filename":"image_16062025_15_33_24_10188.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ddc9706cd4e326fcfb60e25146efdc62.jpg","text":"TemporaryFile(/tmp/multipartBody5507238052450324861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920150813,"filename":"image_16062025_15_33_04_9239.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1aa7071ce51f5e9e9ad6a35276f2f9d7.jpg","text":"TemporaryFile(/tmp/multipartBody6239980026164261621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920150813,"filename":"image_16062025_15_33_14_10140.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a70130b1df6993415f49cedb6f768806.jpg","text":"TemporaryFile(/tmp/multipartBody4671931907998858837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920150813,"filename":"image_16062025_15_33_44_9072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376449893","file1":"1376449891","file0":"1376449887","file4":"1376449901","file5":"1376449904","file3":"1376449898"},"map_files_photo_id_array":[{"photo_id":"1376449904","filename":"file5"},{"photo_id":"1376449893","filename":"file2"},{"photo_id":"1376449901","filename":"file4"},{"photo_id":"1376449891","filename":"file1"},{"photo_id":"1376449887","filename":"file0"},{"photo_id":"1376449898","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376449893":["hashtag1","hashtag2"]},{"1376449887":["hashtag1","hashtag2"]},{"1376449898":["hashtag1","hashtag2"]},{"1376449904":["hashtag1","hashtag2"]},{"1376449901":["hashtag1","hashtag2"]},{"1376449891":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376449893, 1376449887, 1376449898, 1376449904, 1376449901, 1376449891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.23748803138733 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:49:02.635549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/32/image_16062025_15_32_55_10135.jpg', 2), ('/mnt/data/16062025/15/32/image_16062025_15_32_45_10140.jpg', 2), ('/mnt/data/16062025/15/32/image_16062025_15_32_35_10055.jpg', 2), ('/mnt/data/16062025/15/32/image_16062025_15_32_24_9977.jpg', 2), ('/mnt/data/16062025/15/32/image_16062025_15_32_14_10026.jpg', 2), ('/mnt/data/16062025/15/31/image_16062025_15_32_04_10199.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/32/image_16062025_15_32_55_10135.jpg', '/mnt/data/16062025/15/32/image_16062025_15_32_45_10140.jpg', '/mnt/data/16062025/15/32/image_16062025_15_32_35_10055.jpg', '/mnt/data/16062025/15/32/image_16062025_15_32_24_9977.jpg', '/mnt/data/16062025/15/32/image_16062025_15_32_14_10026.jpg', '/mnt/data/16062025/15/31/image_16062025_15_32_04_10199.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/32/image_16062025_15_32_55_10135.jpg', '/mnt/data/16062025/15/32/image_16062025_15_32_45_10140.jpg', '/mnt/data/16062025/15/32/image_16062025_15_32_35_10055.jpg', '/mnt/data/16062025/15/32/image_16062025_15_32_24_9977.jpg', '/mnt/data/16062025/15/32/image_16062025_15_32_14_10026.jpg', '/mnt/data/16062025/15/31/image_16062025_15_32_04_10199.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/32/image_16062025_15_32_55_10135.jpg
/mnt/data/16062025/15/32/image_16062025_15_32_45_10140.jpg
/mnt/data/16062025/15/32/image_16062025_15_32_35_10055.jpg
/mnt/data/16062025/15/32/image_16062025_15_32_24_9977.jpg
/mnt/data/16062025/15/32/image_16062025_15_32_14_10026.jpg
/mnt/data/16062025/15/31/image_16062025_15_32_04_10199.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376449933","1376449936","1376449926","1376449941","1376449929","1376449923"],"photo_ids_order":["1376449923","1376449926","1376449929","1376449933","1376449936","1376449941"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c70200adf541d43104731c81d92dcfef.jpg","text":"TemporaryFile(/tmp/multipartBody3252443986619850444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920219624,"filename":"image_16062025_15_32_24_9977.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d3e2aeed097c7f43faf9cf87e31b1686.jpg","text":"TemporaryFile(/tmp/multipartBody3968113129826204479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920219624,"filename":"image_16062025_15_32_14_10026.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/148fbfe76b47ce3569cf5ceddc6f2ad2.jpg","text":"TemporaryFile(/tmp/multipartBody2003585538004752904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920219624,"filename":"image_16062025_15_32_45_10140.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/49d84768bd762dfd7271373ac07038fc.jpg","text":"TemporaryFile(/tmp/multipartBody203459184226048827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920219624,"filename":"image_16062025_15_32_04_10199.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/51980d75a12e75ac97e074cfc06eb43a.jpg","text":"TemporaryFile(/tmp/multipartBody3722794782491481148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920219624,"filename":"image_16062025_15_32_35_10055.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9738083efb947b6dd2f7ff505a728c86.jpg","text":"TemporaryFile(/tmp/multipartBody9051681152597755705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920219624,"filename":"image_16062025_15_32_55_10135.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376449929","file1":"1376449926","file0":"1376449923","file4":"1376449936","file5":"1376449941","file3":"1376449933"},"map_files_photo_id_array":[{"photo_id":"1376449941","filename":"file5"},{"photo_id":"1376449929","filename":"file2"},{"photo_id":"1376449936","filename":"file4"},{"photo_id":"1376449926","filename":"file1"},{"photo_id":"1376449923","filename":"file0"},{"photo_id":"1376449933","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376449933":["hashtag1","hashtag2"]},{"1376449936":["hashtag1","hashtag2"]},{"1376449926":["hashtag1","hashtag2"]},{"1376449941":["hashtag1","hashtag2"]},{"1376449929":["hashtag1","hashtag2"]},{"1376449923":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376449933, 1376449936, 1376449926, 1376449941, 1376449929, 1376449923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.90779995918274 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:50:03.227862
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/31/image_16062025_15_31_54_9964.jpg', 2), ('/mnt/data/16062025/15/31/image_16062025_15_31_44_9994.jpg', 2), ('/mnt/data/16062025/15/31/image_16062025_15_31_34_9954.jpg', 2), ('/mnt/data/16062025/15/31/image_16062025_15_31_24_9985.jpg', 2), ('/mnt/data/16062025/15/31/image_16062025_15_31_14_9957.jpg', 2), ('/mnt/data/16062025/15/30/image_16062025_15_31_04_10149.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/31/image_16062025_15_31_54_9964.jpg', '/mnt/data/16062025/15/31/image_16062025_15_31_44_9994.jpg', '/mnt/data/16062025/15/31/image_16062025_15_31_34_9954.jpg', '/mnt/data/16062025/15/31/image_16062025_15_31_24_9985.jpg', '/mnt/data/16062025/15/31/image_16062025_15_31_14_9957.jpg', '/mnt/data/16062025/15/30/image_16062025_15_31_04_10149.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/31/image_16062025_15_31_54_9964.jpg', '/mnt/data/16062025/15/31/image_16062025_15_31_44_9994.jpg', '/mnt/data/16062025/15/31/image_16062025_15_31_34_9954.jpg', '/mnt/data/16062025/15/31/image_16062025_15_31_24_9985.jpg', '/mnt/data/16062025/15/31/image_16062025_15_31_14_9957.jpg', '/mnt/data/16062025/15/30/image_16062025_15_31_04_10149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/31/image_16062025_15_31_54_9964.jpg
/mnt/data/16062025/15/31/image_16062025_15_31_44_9994.jpg
/mnt/data/16062025/15/31/image_16062025_15_31_34_9954.jpg
/mnt/data/16062025/15/31/image_16062025_15_31_24_9985.jpg
/mnt/data/16062025/15/31/image_16062025_15_31_14_9957.jpg
/mnt/data/16062025/15/30/image_16062025_15_31_04_10149.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376449969","1376449957","1376449974","1376449977","1376449965","1376449961"],"photo_ids_order":["1376449957","1376449961","1376449965","1376449969","1376449974","1376449977"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d9687714329b5c6215f242791585736b.jpg","text":"TemporaryFile(/tmp/multipartBody7233083808281362310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920277878,"filename":"image_16062025_15_31_24_9985.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4cf236e06a73eaa6c9e7e9894eb045d3.jpg","text":"TemporaryFile(/tmp/multipartBody1329403519483040368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920277878,"filename":"image_16062025_15_31_54_9964.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/06384f191ac3cdf7ee379c0e56864135.jpg","text":"TemporaryFile(/tmp/multipartBody2677654417625280255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920277878,"filename":"image_16062025_15_31_14_9957.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2f831749e301bfdd056e788838a583c0.jpg","text":"TemporaryFile(/tmp/multipartBody441078575480889968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920277878,"filename":"image_16062025_15_31_04_10149.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f4f7b31413a788ab8ce20fa9902d6851.jpg","text":"TemporaryFile(/tmp/multipartBody5282724068832823419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920277878,"filename":"image_16062025_15_31_34_9954.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c9ee7bf22121f2a7adbd14afb8af7ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2865500795848760757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920277878,"filename":"image_16062025_15_31_44_9994.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376449965","file1":"1376449961","file0":"1376449957","file4":"1376449974","file5":"1376449977","file3":"1376449969"},"map_files_photo_id_array":[{"photo_id":"1376449977","filename":"file5"},{"photo_id":"1376449965","filename":"file2"},{"photo_id":"1376449974","filename":"file4"},{"photo_id":"1376449961","filename":"file1"},{"photo_id":"1376449957","filename":"file0"},{"photo_id":"1376449969","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376449969":["hashtag1","hashtag2"]},{"1376449957":["hashtag1","hashtag2"]},{"1376449974":["hashtag1","hashtag2"]},{"1376449977":["hashtag1","hashtag2"]},{"1376449965":["hashtag1","hashtag2"]},{"1376449961":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376449969, 1376449957, 1376449974, 1376449977, 1376449965, 1376449961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.32922649383545 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:51:03.283108
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/30/image_16062025_15_30_54_9984.jpg', 2), ('/mnt/data/16062025/15/30/image_16062025_15_30_44_9957.jpg', 2), ('/mnt/data/16062025/15/30/image_16062025_15_30_34_9988.jpg', 2), ('/mnt/data/16062025/15/30/image_16062025_15_30_24_10030.jpg', 2), ('/mnt/data/16062025/15/30/image_16062025_15_30_14_9971.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_30_04_10206.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/30/image_16062025_15_30_54_9984.jpg', '/mnt/data/16062025/15/30/image_16062025_15_30_44_9957.jpg', '/mnt/data/16062025/15/30/image_16062025_15_30_34_9988.jpg', '/mnt/data/16062025/15/30/image_16062025_15_30_24_10030.jpg', '/mnt/data/16062025/15/30/image_16062025_15_30_14_9971.jpg', '/mnt/data/16062025/15/29/image_16062025_15_30_04_10206.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/30/image_16062025_15_30_54_9984.jpg', '/mnt/data/16062025/15/30/image_16062025_15_30_44_9957.jpg', '/mnt/data/16062025/15/30/image_16062025_15_30_34_9988.jpg', '/mnt/data/16062025/15/30/image_16062025_15_30_24_10030.jpg', '/mnt/data/16062025/15/30/image_16062025_15_30_14_9971.jpg', '/mnt/data/16062025/15/29/image_16062025_15_30_04_10206.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/30/image_16062025_15_30_54_9984.jpg
/mnt/data/16062025/15/30/image_16062025_15_30_44_9957.jpg
/mnt/data/16062025/15/30/image_16062025_15_30_34_9988.jpg
/mnt/data/16062025/15/30/image_16062025_15_30_24_10030.jpg
/mnt/data/16062025/15/30/image_16062025_15_30_14_9971.jpg
/mnt/data/16062025/15/29/image_16062025_15_30_04_10206.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376450000","1376450003","1376449995","1376449997","1376450007","1376450010"],"photo_ids_order":["1376449995","1376449997","1376450000","1376450003","1376450007","1376450010"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1dbec9b285e42d37634fc4839f8e37fa.jpg","text":"TemporaryFile(/tmp/multipartBody580944800306192252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920336864,"filename":"image_16062025_15_30_34_9988.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e642b8af02748577a6dc83d2daea5afb.jpg","text":"TemporaryFile(/tmp/multipartBody4312733202871129322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920336864,"filename":"image_16062025_15_30_24_10030.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cce5802dfc82011cf917c5ebe5753d2e.jpg","text":"TemporaryFile(/tmp/multipartBody3670062189270825701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920336864,"filename":"image_16062025_15_30_54_9984.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/50b39890ff2aaeb974d5b92c3171252d.jpg","text":"TemporaryFile(/tmp/multipartBody1150777213416292632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920336864,"filename":"image_16062025_15_30_44_9957.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a3d73a80b8392f4695539cebc4412277.jpg","text":"TemporaryFile(/tmp/multipartBody644290241191246568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920336864,"filename":"image_16062025_15_30_14_9971.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ab8d4b5d5d7079052de668ac4c5296ff.jpg","text":"TemporaryFile(/tmp/multipartBody3850046603499097205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920336864,"filename":"image_16062025_15_30_04_10206.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376450000","file1":"1376449997","file0":"1376449995","file4":"1376450007","file5":"1376450010","file3":"1376450003"},"map_files_photo_id_array":[{"photo_id":"1376450010","filename":"file5"},{"photo_id":"1376450000","filename":"file2"},{"photo_id":"1376450007","filename":"file4"},{"photo_id":"1376449997","filename":"file1"},{"photo_id":"1376449995","filename":"file0"},{"photo_id":"1376450003","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376450000":["hashtag1","hashtag2"]},{"1376450003":["hashtag1","hashtag2"]},{"1376449995":["hashtag1","hashtag2"]},{"1376449997":["hashtag1","hashtag2"]},{"1376450007":["hashtag1","hashtag2"]},{"1376450010":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376450000, 1376450003, 1376449995, 1376449997, 1376450007, 1376450010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.725438356399536 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:52:02.979120
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/29/image_16062025_15_29_54_10070.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_29_44_10193.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_29_34_10141.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_29_24_8941.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_29_15_10132.jpg', 2), ('/mnt/data/16062025/15/28/image_16062025_15_29_05_10403.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/29/image_16062025_15_29_54_10070.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_44_10193.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_34_10141.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_24_8941.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_15_10132.jpg', '/mnt/data/16062025/15/28/image_16062025_15_29_05_10403.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/29/image_16062025_15_29_54_10070.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_44_10193.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_34_10141.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_24_8941.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_15_10132.jpg', '/mnt/data/16062025/15/28/image_16062025_15_29_05_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/29/image_16062025_15_29_54_10070.jpg
/mnt/data/16062025/15/29/image_16062025_15_29_44_10193.jpg
/mnt/data/16062025/15/29/image_16062025_15_29_34_10141.jpg
/mnt/data/16062025/15/29/image_16062025_15_29_24_8941.jpg
/mnt/data/16062025/15/29/image_16062025_15_29_15_10132.jpg
/mnt/data/16062025/15/28/image_16062025_15_29_05_10403.jpg
uploaded 0 photos
time to upload: 30.35792303085327 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:53:03.126173
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/29/image_16062025_15_29_54_10070.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_29_44_10193.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_29_34_10141.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_29_24_8941.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_29_15_10132.jpg', 2), ('/mnt/data/16062025/15/28/image_16062025_15_29_05_10403.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/29/image_16062025_15_29_54_10070.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_44_10193.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_34_10141.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_24_8941.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_15_10132.jpg', '/mnt/data/16062025/15/28/image_16062025_15_29_05_10403.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/29/image_16062025_15_29_54_10070.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_44_10193.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_34_10141.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_24_8941.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_15_10132.jpg', '/mnt/data/16062025/15/28/image_16062025_15_29_05_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/29/image_16062025_15_29_54_10070.jpg
/mnt/data/16062025/15/29/image_16062025_15_29_44_10193.jpg
/mnt/data/16062025/15/29/image_16062025_15_29_34_10141.jpg
/mnt/data/16062025/15/29/image_16062025_15_29_24_8941.jpg
/mnt/data/16062025/15/29/image_16062025_15_29_15_10132.jpg
/mnt/data/16062025/15/28/image_16062025_15_29_05_10403.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376450071","1376450065","1376450070","1376450067","1376450072","1376450069"],"photo_ids_order":["1376450065","1376450067","1376450069","1376450070","1376450071","1376450072"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2ccd467f38f48bdb125ffbcac0352659.jpg","text":"TemporaryFile(/tmp/multipartBody7668633799217871634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920473949,"filename":"image_16062025_15_29_15_10132.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/204889f2638cd5f41b014416f524398c.jpg","text":"TemporaryFile(/tmp/multipartBody2272068481547579529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920473949,"filename":"image_16062025_15_29_54_10070.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8fe692db48135dffbba926a0910ae3a3.jpg","text":"TemporaryFile(/tmp/multipartBody4437540692792751381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920473949,"filename":"image_16062025_15_29_24_8941.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5ea8715360c010afc1368532e96b2e8b.jpg","text":"TemporaryFile(/tmp/multipartBody3978562026373504025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920473949,"filename":"image_16062025_15_29_44_10193.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0dd93a958261496313ded017c7f8a846.jpg","text":"TemporaryFile(/tmp/multipartBody5309717769233409368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920473949,"filename":"image_16062025_15_29_05_10403.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a59e9db7bce3da2380acca53bc62581f.jpg","text":"TemporaryFile(/tmp/multipartBody3781657294367034690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920473949,"filename":"image_16062025_15_29_34_10141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376450069","file1":"1376450067","file0":"1376450065","file4":"1376450071","file5":"1376450072","file3":"1376450070"},"map_files_photo_id_array":[{"photo_id":"1376450072","filename":"file5"},{"photo_id":"1376450069","filename":"file2"},{"photo_id":"1376450071","filename":"file4"},{"photo_id":"1376450067","filename":"file1"},{"photo_id":"1376450065","filename":"file0"},{"photo_id":"1376450070","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376450071":["hashtag1","hashtag2"]},{"1376450065":["hashtag1","hashtag2"]},{"1376450070":["hashtag1","hashtag2"]},{"1376450067":["hashtag1","hashtag2"]},{"1376450072":["hashtag1","hashtag2"]},{"1376450069":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376450071, 1376450065, 1376450070, 1376450067, 1376450072, 1376450069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.89547109603882 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:55:02.629851
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg', 2), ('/mnt/data/16062025/15/28/image_16062025_15_28_35_10071.jpg', 2), ('/mnt/data/16062025/15/28/image_16062025_15_28_24_10077.jpg', 2), ('/mnt/data/16062025/15/28/image_16062025_15_28_14_10092.jpg', 2), ('/mnt/data/16062025/15/27/image_16062025_15_28_04_10472.jpg', 2), ('/mnt/data/16062025/15/27/image_16062025_15_27_54_10098.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_35_10071.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_24_10077.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_14_10092.jpg', '/mnt/data/16062025/15/27/image_16062025_15_28_04_10472.jpg', '/mnt/data/16062025/15/27/image_16062025_15_27_54_10098.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_35_10071.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_24_10077.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_14_10092.jpg', '/mnt/data/16062025/15/27/image_16062025_15_28_04_10472.jpg', '/mnt/data/16062025/15/27/image_16062025_15_27_54_10098.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg
/mnt/data/16062025/15/28/image_16062025_15_28_35_10071.jpg
/mnt/data/16062025/15/28/image_16062025_15_28_24_10077.jpg
/mnt/data/16062025/15/28/image_16062025_15_28_14_10092.jpg
/mnt/data/16062025/15/27/image_16062025_15_28_04_10472.jpg
/mnt/data/16062025/15/27/image_16062025_15_27_54_10098.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 144.68368077278137 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 15:59:02.936824
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg', 2), ('/mnt/data/16062025/15/28/image_16062025_15_28_35_10071.jpg', 2), ('/mnt/data/16062025/15/28/image_16062025_15_28_24_10077.jpg', 2), ('/mnt/data/16062025/15/28/image_16062025_15_28_14_10092.jpg', 2), ('/mnt/data/16062025/15/27/image_16062025_15_28_04_10472.jpg', 2), ('/mnt/data/16062025/15/27/image_16062025_15_27_54_10098.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_35_10071.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_24_10077.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_14_10092.jpg', '/mnt/data/16062025/15/27/image_16062025_15_28_04_10472.jpg', '/mnt/data/16062025/15/27/image_16062025_15_27_54_10098.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_35_10071.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_24_10077.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_14_10092.jpg', '/mnt/data/16062025/15/27/image_16062025_15_28_04_10472.jpg', '/mnt/data/16062025/15/27/image_16062025_15_27_54_10098.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg
/mnt/data/16062025/15/28/image_16062025_15_28_35_10071.jpg
/mnt/data/16062025/15/28/image_16062025_15_28_24_10077.jpg
/mnt/data/16062025/15/28/image_16062025_15_28_14_10092.jpg
/mnt/data/16062025/15/27/image_16062025_15_28_04_10472.jpg
/mnt/data/16062025/15/27/image_16062025_15_27_54_10098.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376450994","1376451117","1376450928","1376450891","1376450960","1376451055"],"photo_ids_order":["1376450891","1376450928","1376450960","1376450994","1376451055","1376451117"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3796634be239a3cb5a07d4445f8636b9.jpg","text":"TemporaryFile(/tmp/multipartBody4974541376077831802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920817211,"filename":"image_16062025_15_28_14_10092.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8efa17f62e9b718a7e157a795ff10995.jpg","text":"TemporaryFile(/tmp/multipartBody1428532019751383064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920817211,"filename":"image_16062025_15_27_54_10098.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9138297a0d4233a29a932bab43ee3d3d.jpg","text":"TemporaryFile(/tmp/multipartBody5496208197113418689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920817211,"filename":"image_16062025_15_28_35_10071.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/53b3a69c4ce9e4b88b4df03fc98a2e77.jpg","text":"TemporaryFile(/tmp/multipartBody1799653517856242895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920817211,"filename":"image_16062025_15_28_54_10122.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7f39b1826059544909d3a4003a13d445.jpg","text":"TemporaryFile(/tmp/multipartBody6314786569834954389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920817211,"filename":"image_16062025_15_28_24_10077.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/defa0cb19b0c4f3b81afd89896f7d156.jpg","text":"TemporaryFile(/tmp/multipartBody6425713402259696008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920817211,"filename":"image_16062025_15_28_04_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376450960","file1":"1376450928","file0":"1376450891","file4":"1376451055","file5":"1376451117","file3":"1376450994"},"map_files_photo_id_array":[{"photo_id":"1376451117","filename":"file5"},{"photo_id":"1376450960","filename":"file2"},{"photo_id":"1376451055","filename":"file4"},{"photo_id":"1376450928","filename":"file1"},{"photo_id":"1376450891","filename":"file0"},{"photo_id":"1376450994","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376450994":["hashtag1","hashtag2"]},{"1376451117":["hashtag1","hashtag2"]},{"1376450928":["hashtag1","hashtag2"]},{"1376450891":["hashtag1","hashtag2"]},{"1376450960":["hashtag1","hashtag2"]},{"1376451055":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376450994, 1376451117, 1376450928, 1376450891, 1376450960, 1376451055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.72050380706787 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:00:02.876184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/27/image_16062025_15_27_44_10062.jpg', 2), ('/mnt/data/16062025/15/27/image_16062025_15_27_34_8895.jpg', 2), ('/mnt/data/16062025/15/27/image_16062025_15_27_25_10183.jpg', 2), ('/mnt/data/16062025/15/26/image_16062025_15_27_04_10485.jpg', 2), ('/mnt/data/16062025/15/26/image_16062025_15_26_54_10151.jpg', 2), ('/mnt/data/16062025/15/26/image_16062025_15_26_44_10103.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/27/image_16062025_15_27_44_10062.jpg', '/mnt/data/16062025/15/27/image_16062025_15_27_34_8895.jpg', '/mnt/data/16062025/15/27/image_16062025_15_27_25_10183.jpg', '/mnt/data/16062025/15/26/image_16062025_15_27_04_10485.jpg', '/mnt/data/16062025/15/26/image_16062025_15_26_54_10151.jpg', '/mnt/data/16062025/15/26/image_16062025_15_26_44_10103.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/27/image_16062025_15_27_44_10062.jpg', '/mnt/data/16062025/15/27/image_16062025_15_27_34_8895.jpg', '/mnt/data/16062025/15/27/image_16062025_15_27_25_10183.jpg', '/mnt/data/16062025/15/26/image_16062025_15_27_04_10485.jpg', '/mnt/data/16062025/15/26/image_16062025_15_26_54_10151.jpg', '/mnt/data/16062025/15/26/image_16062025_15_26_44_10103.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/27/image_16062025_15_27_44_10062.jpg
/mnt/data/16062025/15/27/image_16062025_15_27_34_8895.jpg
/mnt/data/16062025/15/27/image_16062025_15_27_25_10183.jpg
/mnt/data/16062025/15/26/image_16062025_15_27_04_10485.jpg
/mnt/data/16062025/15/26/image_16062025_15_26_54_10151.jpg
/mnt/data/16062025/15/26/image_16062025_15_26_44_10103.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376451382","1376451552","1376451414","1376451479","1376451446","1376451512"],"photo_ids_order":["1376451382","1376451414","1376451446","1376451479","1376451512","1376451552"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/24c5947f488aafcbb776a36a247acc59.jpg","text":"TemporaryFile(/tmp/multipartBody8644677173242294996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920869283,"filename":"image_16062025_15_27_44_10062.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/75fc3e9d467c806709a238d568a26be2.jpg","text":"TemporaryFile(/tmp/multipartBody8275956575336890492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920869283,"filename":"image_16062025_15_26_44_10103.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e92f12c92f013bd0432ad72edf1c618e.jpg","text":"TemporaryFile(/tmp/multipartBody2884994897897492087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920869283,"filename":"image_16062025_15_27_34_8895.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/52f5f0123d6a6f42cee1506702e7b67f.jpg","text":"TemporaryFile(/tmp/multipartBody2628165224179497585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920869283,"filename":"image_16062025_15_27_04_10485.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d96deae322db26eb5a01f711c2c33d8a.jpg","text":"TemporaryFile(/tmp/multipartBody6508352794075398526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920869283,"filename":"image_16062025_15_27_25_10183.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b6156b46d795499a837ddd80ace6d23d.jpg","text":"TemporaryFile(/tmp/multipartBody4153892862664276205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920869283,"filename":"image_16062025_15_26_54_10151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376451446","file1":"1376451414","file0":"1376451382","file4":"1376451512","file5":"1376451552","file3":"1376451479"},"map_files_photo_id_array":[{"photo_id":"1376451552","filename":"file5"},{"photo_id":"1376451446","filename":"file2"},{"photo_id":"1376451512","filename":"file4"},{"photo_id":"1376451414","filename":"file1"},{"photo_id":"1376451382","filename":"file0"},{"photo_id":"1376451479","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376451382":["hashtag1","hashtag2"]},{"1376451552":["hashtag1","hashtag2"]},{"1376451414":["hashtag1","hashtag2"]},{"1376451479":["hashtag1","hashtag2"]},{"1376451446":["hashtag1","hashtag2"]},{"1376451512":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376451382, 1376451552, 1376451414, 1376451479, 1376451446, 1376451512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.92807698249817 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:01:02.935953
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/26/image_16062025_15_26_34_8937.jpg', 2), ('/mnt/data/16062025/15/26/image_16062025_15_26_25_10084.jpg', 2), ('/mnt/data/16062025/15/26/image_16062025_15_26_15_10077.jpg', 2), ('/mnt/data/16062025/15/25/image_16062025_15_26_05_10181.jpg', 2), ('/mnt/data/16062025/15/25/image_16062025_15_25_54_9959.jpg', 2), ('/mnt/data/16062025/15/25/image_16062025_15_25_44_9957.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/26/image_16062025_15_26_34_8937.jpg', '/mnt/data/16062025/15/26/image_16062025_15_26_25_10084.jpg', '/mnt/data/16062025/15/26/image_16062025_15_26_15_10077.jpg', '/mnt/data/16062025/15/25/image_16062025_15_26_05_10181.jpg', '/mnt/data/16062025/15/25/image_16062025_15_25_54_9959.jpg', '/mnt/data/16062025/15/25/image_16062025_15_25_44_9957.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/26/image_16062025_15_26_34_8937.jpg', '/mnt/data/16062025/15/26/image_16062025_15_26_25_10084.jpg', '/mnt/data/16062025/15/26/image_16062025_15_26_15_10077.jpg', '/mnt/data/16062025/15/25/image_16062025_15_26_05_10181.jpg', '/mnt/data/16062025/15/25/image_16062025_15_25_54_9959.jpg', '/mnt/data/16062025/15/25/image_16062025_15_25_44_9957.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/26/image_16062025_15_26_34_8937.jpg
/mnt/data/16062025/15/26/image_16062025_15_26_25_10084.jpg
/mnt/data/16062025/15/26/image_16062025_15_26_15_10077.jpg
/mnt/data/16062025/15/25/image_16062025_15_26_05_10181.jpg
/mnt/data/16062025/15/25/image_16062025_15_25_54_9959.jpg
/mnt/data/16062025/15/25/image_16062025_15_25_44_9957.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376452014","1376451930","1376452052","1376452112","1376452084","1376451961"],"photo_ids_order":["1376451930","1376451961","1376452014","1376452052","1376452084","1376452112"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/240a9b74490ad71802799a3c685a0a01.jpg","text":"TemporaryFile(/tmp/multipartBody9211579540840205175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920942863,"filename":"image_16062025_15_26_15_10077.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2d02df19338cd998677df7f9cca542f2.jpg","text":"TemporaryFile(/tmp/multipartBody3939381648055054769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920942863,"filename":"image_16062025_15_26_34_8937.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/83e83b8c615aadb38b20a99249b6c49d.jpg","text":"TemporaryFile(/tmp/multipartBody5708679031343142815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920942863,"filename":"image_16062025_15_26_05_10181.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4e33783ab9f55406230a3e48dbadb03b.jpg","text":"TemporaryFile(/tmp/multipartBody8938043384313790322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920942863,"filename":"image_16062025_15_25_44_9957.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e0b4bf04c52a2403d1c80efd77089391.jpg","text":"TemporaryFile(/tmp/multipartBody6039526707256924065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920942863,"filename":"image_16062025_15_25_54_9959.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e582ea314bd396d1381a75d67fc5d383.jpg","text":"TemporaryFile(/tmp/multipartBody3058306170425595187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754920942863,"filename":"image_16062025_15_26_25_10084.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376452014","file1":"1376451961","file0":"1376451930","file4":"1376452084","file5":"1376452112","file3":"1376452052"},"map_files_photo_id_array":[{"photo_id":"1376452112","filename":"file5"},{"photo_id":"1376452014","filename":"file2"},{"photo_id":"1376452084","filename":"file4"},{"photo_id":"1376451961","filename":"file1"},{"photo_id":"1376451930","filename":"file0"},{"photo_id":"1376452052","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376452014":["hashtag1","hashtag2"]},{"1376451930":["hashtag1","hashtag2"]},{"1376452052":["hashtag1","hashtag2"]},{"1376452112":["hashtag1","hashtag2"]},{"1376452084":["hashtag1","hashtag2"]},{"1376451961":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376452014, 1376451930, 1376452052, 1376452112, 1376452084, 1376451961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.528676986694336 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:03:02.717131
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/25/image_16062025_15_25_34_9931.jpg', 2), ('/mnt/data/16062025/15/25/image_16062025_15_25_25_9978.jpg', 2), ('/mnt/data/16062025/15/25/image_16062025_15_25_15_9957.jpg', 2), ('/mnt/data/16062025/15/24/image_16062025_15_25_05_10141.jpg', 2), ('/mnt/data/16062025/15/24/image_16062025_15_24_54_9962.jpg', 2), ('/mnt/data/16062025/15/24/image_16062025_15_24_44_9955.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/25/image_16062025_15_25_34_9931.jpg', '/mnt/data/16062025/15/25/image_16062025_15_25_25_9978.jpg', '/mnt/data/16062025/15/25/image_16062025_15_25_15_9957.jpg', '/mnt/data/16062025/15/24/image_16062025_15_25_05_10141.jpg', '/mnt/data/16062025/15/24/image_16062025_15_24_54_9962.jpg', '/mnt/data/16062025/15/24/image_16062025_15_24_44_9955.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/25/image_16062025_15_25_34_9931.jpg', '/mnt/data/16062025/15/25/image_16062025_15_25_25_9978.jpg', '/mnt/data/16062025/15/25/image_16062025_15_25_15_9957.jpg', '/mnt/data/16062025/15/24/image_16062025_15_25_05_10141.jpg', '/mnt/data/16062025/15/24/image_16062025_15_24_54_9962.jpg', '/mnt/data/16062025/15/24/image_16062025_15_24_44_9955.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/25/image_16062025_15_25_34_9931.jpg
/mnt/data/16062025/15/25/image_16062025_15_25_25_9978.jpg
/mnt/data/16062025/15/25/image_16062025_15_25_15_9957.jpg
/mnt/data/16062025/15/24/image_16062025_15_25_05_10141.jpg
/mnt/data/16062025/15/24/image_16062025_15_24_54_9962.jpg
/mnt/data/16062025/15/24/image_16062025_15_24_44_9955.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376453031","1376452997","1376452910","1376452966","1376452873","1376452930"],"photo_ids_order":["1376452873","1376452910","1376452930","1376452966","1376452997","1376453031"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f9d7379a753d40707547e4eadd6a4415.jpg","text":"TemporaryFile(/tmp/multipartBody3324903127858849846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921055042,"filename":"image_16062025_15_24_44_9955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1de491cb970d28fe3166e5c1809dcd5d.jpg","text":"TemporaryFile(/tmp/multipartBody700306383462443271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921055042,"filename":"image_16062025_15_24_54_9962.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f2a08589c06133fd26e8bd8e9bccd6f4.jpg","text":"TemporaryFile(/tmp/multipartBody1100613688339012670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921055042,"filename":"image_16062025_15_25_25_9978.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/28c6ad51a6ef2e23bb65825d8150cc7a.jpg","text":"TemporaryFile(/tmp/multipartBody6051684446349401919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921055042,"filename":"image_16062025_15_25_05_10141.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/13f773fb54ee6ef90017a110e89e8388.jpg","text":"TemporaryFile(/tmp/multipartBody3545014325565507787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921055042,"filename":"image_16062025_15_25_34_9931.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c0b4bd17ef60617afa4da9175934a169.jpg","text":"TemporaryFile(/tmp/multipartBody1133532452678897781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921055042,"filename":"image_16062025_15_25_15_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376452930","file1":"1376452910","file0":"1376452873","file4":"1376452997","file5":"1376453031","file3":"1376452966"},"map_files_photo_id_array":[{"photo_id":"1376453031","filename":"file5"},{"photo_id":"1376452930","filename":"file2"},{"photo_id":"1376452997","filename":"file4"},{"photo_id":"1376452910","filename":"file1"},{"photo_id":"1376452873","filename":"file0"},{"photo_id":"1376452966","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376453031":["hashtag1","hashtag2"]},{"1376452997":["hashtag1","hashtag2"]},{"1376452910":["hashtag1","hashtag2"]},{"1376452966":["hashtag1","hashtag2"]},{"1376452873":["hashtag1","hashtag2"]},{"1376452930":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376453031, 1376452997, 1376452910, 1376452966, 1376452873, 1376452930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.682828187942505 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:04:02.833906
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/24/image_16062025_15_24_35_9968.jpg', 2), ('/mnt/data/16062025/15/24/image_16062025_15_24_25_10060.jpg', 2), ('/mnt/data/16062025/15/24/image_16062025_15_24_15_10336.jpg', 2), ('/mnt/data/16062025/15/23/image_16062025_15_24_04_9432.jpg', 2), ('/mnt/data/16062025/15/23/image_16062025_15_23_55_10297.jpg', 2), ('/mnt/data/16062025/15/23/image_16062025_15_23_44_9982.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/24/image_16062025_15_24_35_9968.jpg', '/mnt/data/16062025/15/24/image_16062025_15_24_25_10060.jpg', '/mnt/data/16062025/15/24/image_16062025_15_24_15_10336.jpg', '/mnt/data/16062025/15/23/image_16062025_15_24_04_9432.jpg', '/mnt/data/16062025/15/23/image_16062025_15_23_55_10297.jpg', '/mnt/data/16062025/15/23/image_16062025_15_23_44_9982.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/24/image_16062025_15_24_35_9968.jpg', '/mnt/data/16062025/15/24/image_16062025_15_24_25_10060.jpg', '/mnt/data/16062025/15/24/image_16062025_15_24_15_10336.jpg', '/mnt/data/16062025/15/23/image_16062025_15_24_04_9432.jpg', '/mnt/data/16062025/15/23/image_16062025_15_23_55_10297.jpg', '/mnt/data/16062025/15/23/image_16062025_15_23_44_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/24/image_16062025_15_24_35_9968.jpg
/mnt/data/16062025/15/24/image_16062025_15_24_25_10060.jpg
/mnt/data/16062025/15/24/image_16062025_15_24_15_10336.jpg
/mnt/data/16062025/15/23/image_16062025_15_24_04_9432.jpg
/mnt/data/16062025/15/23/image_16062025_15_23_55_10297.jpg
/mnt/data/16062025/15/23/image_16062025_15_23_44_9982.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376453313","1376453327","1376453324","1376453318","1376453293","1376453275"],"photo_ids_order":["1376453275","1376453293","1376453313","1376453318","1376453324","1376453327"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/498ea7fd13baf91c24c0fdda6120a1af.jpg","text":"TemporaryFile(/tmp/multipartBody1898693522350861918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921120848,"filename":"image_16062025_15_24_15_10336.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/40c2d4838e1a14296d052aec547216b0.jpg","text":"TemporaryFile(/tmp/multipartBody3636523463997579728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921120848,"filename":"image_16062025_15_23_44_9982.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/36b8e74365a75f3de8d67fa189260ce2.jpg","text":"TemporaryFile(/tmp/multipartBody890715638070278959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921120848,"filename":"image_16062025_15_23_55_10297.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8b37c25bd227737a8abc71daf00e72b1.jpg","text":"TemporaryFile(/tmp/multipartBody4293212107711239364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921120848,"filename":"image_16062025_15_24_04_9432.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e093287aaeb7fcffe7ed766823346907.jpg","text":"TemporaryFile(/tmp/multipartBody923797807229521935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921120848,"filename":"image_16062025_15_24_25_10060.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bf03de7671cf52a03b101e6cbd94fa10.jpg","text":"TemporaryFile(/tmp/multipartBody6201148925425871655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921120848,"filename":"image_16062025_15_24_35_9968.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376453313","file1":"1376453293","file0":"1376453275","file4":"1376453324","file5":"1376453327","file3":"1376453318"},"map_files_photo_id_array":[{"photo_id":"1376453327","filename":"file5"},{"photo_id":"1376453313","filename":"file2"},{"photo_id":"1376453324","filename":"file4"},{"photo_id":"1376453293","filename":"file1"},{"photo_id":"1376453275","filename":"file0"},{"photo_id":"1376453318","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376453313":["hashtag1","hashtag2"]},{"1376453327":["hashtag1","hashtag2"]},{"1376453324":["hashtag1","hashtag2"]},{"1376453318":["hashtag1","hashtag2"]},{"1376453293":["hashtag1","hashtag2"]},{"1376453275":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376453313, 1376453327, 1376453324, 1376453318, 1376453293, 1376453275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.03540515899658 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:06:03.030621
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/23/image_16062025_15_23_34_10041.jpg', 2), ('/mnt/data/16062025/15/22/image_16062025_15_22_44_8831.jpg', 2), ('/mnt/data/16062025/15/22/image_16062025_15_22_35_10000.jpg', 2), ('/mnt/data/16062025/15/22/image_16062025_15_22_25_10003.jpg', 2), ('/mnt/data/16062025/15/22/image_16062025_15_22_15_11149.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_22_04_8981.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/23/image_16062025_15_23_34_10041.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_44_8831.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_35_10000.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_25_10003.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_15_11149.jpg', '/mnt/data/16062025/15/21/image_16062025_15_22_04_8981.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/23/image_16062025_15_23_34_10041.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_44_8831.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_35_10000.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_25_10003.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_15_11149.jpg', '/mnt/data/16062025/15/21/image_16062025_15_22_04_8981.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/23/image_16062025_15_23_34_10041.jpg
/mnt/data/16062025/15/22/image_16062025_15_22_44_8831.jpg
/mnt/data/16062025/15/22/image_16062025_15_22_35_10000.jpg
/mnt/data/16062025/15/22/image_16062025_15_22_25_10003.jpg
/mnt/data/16062025/15/22/image_16062025_15_22_15_11149.jpg
/mnt/data/16062025/15/21/image_16062025_15_22_04_8981.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376453735","1376453686","1376453674","1376453740","1376453722","1376453775"],"photo_ids_order":["1376453674","1376453686","1376453722","1376453735","1376453740","1376453775"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/697c1152c6261bbe94dcb85bfdbe33f3.jpg","text":"TemporaryFile(/tmp/multipartBody1758724330225254927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921238129,"filename":"image_16062025_15_22_25_10003.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/16a7b67edf030f92dfbe9137fcd9c65e.jpg","text":"TemporaryFile(/tmp/multipartBody1392845411130317894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921238129,"filename":"image_16062025_15_22_44_8831.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/80ac16a272081d028e71180f7b50f535.jpg","text":"TemporaryFile(/tmp/multipartBody9117108947315937045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921238129,"filename":"image_16062025_15_23_34_10041.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a10fc98e71f87690279a9ada385b9e3b.jpg","text":"TemporaryFile(/tmp/multipartBody6057440934480148678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921238129,"filename":"image_16062025_15_22_15_11149.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1bb46bd8f07c4b53a487e47da6e0ce35.jpg","text":"TemporaryFile(/tmp/multipartBody1983935425515128953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921238129,"filename":"image_16062025_15_22_35_10000.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d9eb9ec0b67fa8760d3d153a46522eff.jpg","text":"TemporaryFile(/tmp/multipartBody2832712558481305160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921238129,"filename":"image_16062025_15_22_04_8981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376453722","file1":"1376453686","file0":"1376453674","file4":"1376453740","file5":"1376453775","file3":"1376453735"},"map_files_photo_id_array":[{"photo_id":"1376453775","filename":"file5"},{"photo_id":"1376453722","filename":"file2"},{"photo_id":"1376453740","filename":"file4"},{"photo_id":"1376453686","filename":"file1"},{"photo_id":"1376453674","filename":"file0"},{"photo_id":"1376453735","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376453735":["hashtag1","hashtag2"]},{"1376453686":["hashtag1","hashtag2"]},{"1376453674":["hashtag1","hashtag2"]},{"1376453740":["hashtag1","hashtag2"]},{"1376453722":["hashtag1","hashtag2"]},{"1376453775":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376453735, 1376453686, 1376453674, 1376453740, 1376453722, 1376453775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.278656244277954 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:07:03.253464
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/21/image_16062025_15_21_55_9933.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_21_35_10100.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_21_25_10065.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_21_15_10130.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_21_05_10352.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/21/image_16062025_15_21_55_9933.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_35_10100.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_25_10065.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_15_10130.jpg', '/mnt/data/16062025/15/20/image_16062025_15_21_05_10352.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/21/image_16062025_15_21_55_9933.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_35_10100.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_25_10065.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_15_10130.jpg', '/mnt/data/16062025/15/20/image_16062025_15_21_05_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/21/image_16062025_15_21_55_9933.jpg
/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg
/mnt/data/16062025/15/21/image_16062025_15_21_35_10100.jpg
/mnt/data/16062025/15/21/image_16062025_15_21_25_10065.jpg
/mnt/data/16062025/15/21/image_16062025_15_21_15_10130.jpg
/mnt/data/16062025/15/20/image_16062025_15_21_05_10352.jpg
uploaded 0 photos
time to upload: 30.355461835861206 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:08:02.801687
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/21/image_16062025_15_21_55_9933.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_21_35_10100.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_21_25_10065.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_21_15_10130.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_21_05_10352.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/21/image_16062025_15_21_55_9933.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_35_10100.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_25_10065.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_15_10130.jpg', '/mnt/data/16062025/15/20/image_16062025_15_21_05_10352.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/21/image_16062025_15_21_55_9933.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_35_10100.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_25_10065.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_15_10130.jpg', '/mnt/data/16062025/15/20/image_16062025_15_21_05_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/21/image_16062025_15_21_55_9933.jpg
/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg
/mnt/data/16062025/15/21/image_16062025_15_21_35_10100.jpg
/mnt/data/16062025/15/21/image_16062025_15_21_25_10065.jpg
/mnt/data/16062025/15/21/image_16062025_15_21_15_10130.jpg
/mnt/data/16062025/15/20/image_16062025_15_21_05_10352.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376454080","1376454068","1376454076","1376454064","1376454072","1376454066"],"photo_ids_order":["1376454064","1376454066","1376454068","1376454072","1376454076","1376454080"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bf195bec27bf45de0b2127cd43d488d6.jpg","text":"TemporaryFile(/tmp/multipartBody7301772163148830058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921347300,"filename":"image_16062025_15_21_05_10352.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c60c335db46fe85fb05deb6452e0b4d9.jpg","text":"TemporaryFile(/tmp/multipartBody7697420032130860283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921347300,"filename":"image_16062025_15_21_35_10100.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/562310af1086d988999a69c5e0da71c8.jpg","text":"TemporaryFile(/tmp/multipartBody2710416307573148472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921347300,"filename":"image_16062025_15_21_15_10130.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7c40553a5114e2a79e94c371b5b746d7.jpg","text":"TemporaryFile(/tmp/multipartBody2366195879932300203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921347300,"filename":"image_16062025_15_21_55_9933.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c9da751b7d3395b0cdc0ec66e1c6d3d4.jpg","text":"TemporaryFile(/tmp/multipartBody5903514392550362847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921347300,"filename":"image_16062025_15_21_25_10065.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3dea688ff68bae7eff5be8b333f01890.jpg","text":"TemporaryFile(/tmp/multipartBody8023572043411561973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921347300,"filename":"image_16062025_15_21_45_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376454068","file1":"1376454066","file0":"1376454064","file4":"1376454076","file5":"1376454080","file3":"1376454072"},"map_files_photo_id_array":[{"photo_id":"1376454080","filename":"file5"},{"photo_id":"1376454068","filename":"file2"},{"photo_id":"1376454076","filename":"file4"},{"photo_id":"1376454066","filename":"file1"},{"photo_id":"1376454064","filename":"file0"},{"photo_id":"1376454072","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376454080":["hashtag1","hashtag2"]},{"1376454068":["hashtag1","hashtag2"]},{"1376454076":["hashtag1","hashtag2"]},{"1376454064":["hashtag1","hashtag2"]},{"1376454072":["hashtag1","hashtag2"]},{"1376454066":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376454080, 1376454068, 1376454076, 1376454064, 1376454072, 1376454066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.10630941390991 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:09:02.843230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg', '/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg', '/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg
/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg
uploaded 0 photos
time to upload: 30.38188600540161 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:10:03.520636
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg', '/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg', '/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg
/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg
uploaded 0 photos
time to upload: 30.311846494674683 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:11:03.307932
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg', '/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg', '/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg
/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376454504","1376454506","1376454427","1376454477","1376454444","1376454519"],"photo_ids_order":["1376454427","1376454444","1376454477","1376454504","1376454506","1376454519"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3b58633d4084d6d8cdedcfa01b0db36a.jpg","text":"TemporaryFile(/tmp/multipartBody7274876038094513464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921551076,"filename":"image_16062025_15_20_25_10397.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a79f1a640fd4e2fa62bd7c0b05229980.jpg","text":"TemporaryFile(/tmp/multipartBody2750825274993536333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921551076,"filename":"image_16062025_15_20_14_10232.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c45f5b02fb7701e1e59a3cdad3de0a9b.jpg","text":"TemporaryFile(/tmp/multipartBody5281324383885462972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921551076,"filename":"image_16062025_15_20_54_10193.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7bcabda67ac6eb156725bf6f86d6e8eb.jpg","text":"TemporaryFile(/tmp/multipartBody3243135595520448938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921551076,"filename":"image_16062025_15_20_34_8954.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ce8fb4b608a9ebbe3567664fd16843b1.jpg","text":"TemporaryFile(/tmp/multipartBody6325862148350052072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921551076,"filename":"image_16062025_15_20_44_10164.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8ddb95f020794761b6284241383d952d.jpg","text":"TemporaryFile(/tmp/multipartBody9178115312116328670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754921551076,"filename":"image_16062025_15_20_04_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376454477","file1":"1376454444","file0":"1376454427","file4":"1376454506","file5":"1376454519","file3":"1376454504"},"map_files_photo_id_array":[{"photo_id":"1376454519","filename":"file5"},{"photo_id":"1376454477","filename":"file2"},{"photo_id":"1376454506","filename":"file4"},{"photo_id":"1376454444","filename":"file1"},{"photo_id":"1376454427","filename":"file0"},{"photo_id":"1376454504","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376454504":["hashtag1","hashtag2"]},{"1376454506":["hashtag1","hashtag2"]},{"1376454427":["hashtag1","hashtag2"]},{"1376454477":["hashtag1","hashtag2"]},{"1376454444":["hashtag1","hashtag2"]},{"1376454519":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376454504, 1376454506, 1376454427, 1376454477, 1376454444, 1376454519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.72708702087402 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:13:02.721218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', '/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', '/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg
/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg
uploaded 0 photos
time to upload: 30.351639986038208 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=30)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:14:02.557746
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', '/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', '/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg
/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 29.606617212295532 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:15:02.563886
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', '/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', '/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg
/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 144.31111454963684 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:18:02.390432
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', '/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', '/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg
/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg
uploaded 0 photos
time to upload: 30.309684991836548 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:19:03.462051
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', '/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', '/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg
/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376455520","1376455418","1376455489","1376455386","1376455452","1376455461"],"photo_ids_order":["1376455386","1376455418","1376455452","1376455461","1376455489","1376455520"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/862300bcc748a225f6cd73854ad43190.jpg","text":"TemporaryFile(/tmp/multipartBody1588532997668799372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922019393,"filename":"image_16062025_15_19_04_9207.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/04ae8b2d9f8454bbf205dfc5400a3706.jpg","text":"TemporaryFile(/tmp/multipartBody7839770262152195937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922019393,"filename":"image_16062025_15_19_45_10271.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b122bdbd65378190e8232315f432e7f7.jpg","text":"TemporaryFile(/tmp/multipartBody1239706882565978926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922019393,"filename":"image_16062025_15_19_14_10187.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a4f27d8415b5defb5bdbae5a85bcd130.jpg","text":"TemporaryFile(/tmp/multipartBody5725054010916755763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922019393,"filename":"image_16062025_15_19_54_8960.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8388c2abaf07d464a7f7a355620187ee.jpg","text":"TemporaryFile(/tmp/multipartBody2677348417686275577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922019393,"filename":"image_16062025_15_19_35_10264.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9a8c0b792d7f49e7507ff1dd266bc1d4.jpg","text":"TemporaryFile(/tmp/multipartBody2186823737914862619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922019393,"filename":"image_16062025_15_19_24_10195.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376455452","file1":"1376455418","file0":"1376455386","file4":"1376455489","file5":"1376455520","file3":"1376455461"},"map_files_photo_id_array":[{"photo_id":"1376455520","filename":"file5"},{"photo_id":"1376455452","filename":"file2"},{"photo_id":"1376455489","filename":"file4"},{"photo_id":"1376455418","filename":"file1"},{"photo_id":"1376455386","filename":"file0"},{"photo_id":"1376455461","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376455520":["hashtag1","hashtag2"]},{"1376455418":["hashtag1","hashtag2"]},{"1376455489":["hashtag1","hashtag2"]},{"1376455386":["hashtag1","hashtag2"]},{"1376455452":["hashtag1","hashtag2"]},{"1376455461":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376455520, 1376455418, 1376455489, 1376455386, 1376455452, 1376455461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.86727237701416 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:20:02.939184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/18/image_16062025_15_18_55_10265.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_18_44_10172.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_18_34_10157.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_18_24_10173.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_18_14_9873.jpg', 2), ('/mnt/data/16062025/15/17/image_16062025_15_18_04_10175.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/18/image_16062025_15_18_55_10265.jpg', '/mnt/data/16062025/15/18/image_16062025_15_18_44_10172.jpg', '/mnt/data/16062025/15/18/image_16062025_15_18_34_10157.jpg', '/mnt/data/16062025/15/18/image_16062025_15_18_24_10173.jpg', '/mnt/data/16062025/15/18/image_16062025_15_18_14_9873.jpg', '/mnt/data/16062025/15/17/image_16062025_15_18_04_10175.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/18/image_16062025_15_18_55_10265.jpg', '/mnt/data/16062025/15/18/image_16062025_15_18_44_10172.jpg', '/mnt/data/16062025/15/18/image_16062025_15_18_34_10157.jpg', '/mnt/data/16062025/15/18/image_16062025_15_18_24_10173.jpg', '/mnt/data/16062025/15/18/image_16062025_15_18_14_9873.jpg', '/mnt/data/16062025/15/17/image_16062025_15_18_04_10175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/18/image_16062025_15_18_55_10265.jpg
/mnt/data/16062025/15/18/image_16062025_15_18_44_10172.jpg
/mnt/data/16062025/15/18/image_16062025_15_18_34_10157.jpg
/mnt/data/16062025/15/18/image_16062025_15_18_24_10173.jpg
/mnt/data/16062025/15/18/image_16062025_15_18_14_9873.jpg
/mnt/data/16062025/15/17/image_16062025_15_18_04_10175.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376455567","1376455582","1376455576","1376455586","1376455571","1376455565"],"photo_ids_order":["1376455565","1376455567","1376455571","1376455576","1376455582","1376455586"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7913cfb87d04fff66b95fa0822519572.jpg","text":"TemporaryFile(/tmp/multipartBody5924865990363253899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922072797,"filename":"image_16062025_15_18_44_10172.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9eb82a1e58025145005fbb24909bca8b.jpg","text":"TemporaryFile(/tmp/multipartBody3906297050812941963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922072797,"filename":"image_16062025_15_18_14_9873.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3ecf387448af2aa30839785d5f9ac51d.jpg","text":"TemporaryFile(/tmp/multipartBody883037146899481531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922072797,"filename":"image_16062025_15_18_24_10173.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cc60447197e8e0fd8fa537a4a9b60bbb.jpg","text":"TemporaryFile(/tmp/multipartBody7513968247215176664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922072797,"filename":"image_16062025_15_18_04_10175.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9de7344950bf69d6fe10234fc1060525.jpg","text":"TemporaryFile(/tmp/multipartBody2280630740215830831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922072797,"filename":"image_16062025_15_18_34_10157.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9ac308c7afd3d747e7883f7c4563b482.jpg","text":"TemporaryFile(/tmp/multipartBody1365051223142706330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922072797,"filename":"image_16062025_15_18_55_10265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376455571","file1":"1376455567","file0":"1376455565","file4":"1376455582","file5":"1376455586","file3":"1376455576"},"map_files_photo_id_array":[{"photo_id":"1376455586","filename":"file5"},{"photo_id":"1376455571","filename":"file2"},{"photo_id":"1376455582","filename":"file4"},{"photo_id":"1376455567","filename":"file1"},{"photo_id":"1376455565","filename":"file0"},{"photo_id":"1376455576","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376455567":["hashtag1","hashtag2"]},{"1376455582":["hashtag1","hashtag2"]},{"1376455576":["hashtag1","hashtag2"]},{"1376455586":["hashtag1","hashtag2"]},{"1376455571":["hashtag1","hashtag2"]},{"1376455565":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376455567, 1376455582, 1376455576, 1376455586, 1376455571, 1376455565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.90749549865723 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:21:02.892645
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/17/image_16062025_15_17_54_9968.jpg', 2), ('/mnt/data/16062025/15/17/image_16062025_15_17_44_9933.jpg', 2), ('/mnt/data/16062025/15/17/image_16062025_15_17_34_9994.jpg', 2), ('/mnt/data/16062025/15/17/image_16062025_15_17_24_9996.jpg', 2), ('/mnt/data/16062025/15/17/image_16062025_15_17_14_9973.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_17_04_10235.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/17/image_16062025_15_17_54_9968.jpg', '/mnt/data/16062025/15/17/image_16062025_15_17_44_9933.jpg', '/mnt/data/16062025/15/17/image_16062025_15_17_34_9994.jpg', '/mnt/data/16062025/15/17/image_16062025_15_17_24_9996.jpg', '/mnt/data/16062025/15/17/image_16062025_15_17_14_9973.jpg', '/mnt/data/16062025/15/16/image_16062025_15_17_04_10235.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/17/image_16062025_15_17_54_9968.jpg', '/mnt/data/16062025/15/17/image_16062025_15_17_44_9933.jpg', '/mnt/data/16062025/15/17/image_16062025_15_17_34_9994.jpg', '/mnt/data/16062025/15/17/image_16062025_15_17_24_9996.jpg', '/mnt/data/16062025/15/17/image_16062025_15_17_14_9973.jpg', '/mnt/data/16062025/15/16/image_16062025_15_17_04_10235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/17/image_16062025_15_17_54_9968.jpg
/mnt/data/16062025/15/17/image_16062025_15_17_44_9933.jpg
/mnt/data/16062025/15/17/image_16062025_15_17_34_9994.jpg
/mnt/data/16062025/15/17/image_16062025_15_17_24_9996.jpg
/mnt/data/16062025/15/17/image_16062025_15_17_14_9973.jpg
/mnt/data/16062025/15/16/image_16062025_15_17_04_10235.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376455628","1376455651","1376455624","1376455620","1376455638","1376455655"],"photo_ids_order":["1376455620","1376455624","1376455628","1376455638","1376455651","1376455655"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5a96e301238ec0086a28f50a35a8165f.jpg","text":"TemporaryFile(/tmp/multipartBody8242618814902219769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922134379,"filename":"image_16062025_15_17_34_9994.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/85b4625ecda761cdfbbdc5cefd9a5323.jpg","text":"TemporaryFile(/tmp/multipartBody5088714292012076605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922134379,"filename":"image_16062025_15_17_14_9973.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/eba1d9cc0ad11339e8b6cab5562f71ef.jpg","text":"TemporaryFile(/tmp/multipartBody4600592342040314166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922134379,"filename":"image_16062025_15_17_44_9933.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2656f8eb181edfe36084ad3597afb2d5.jpg","text":"TemporaryFile(/tmp/multipartBody6229473063811987709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922134379,"filename":"image_16062025_15_17_54_9968.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9c1c7c9c6c7df00a417c1e9c0e28d019.jpg","text":"TemporaryFile(/tmp/multipartBody1996153921163334185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922134379,"filename":"image_16062025_15_17_24_9996.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3e18e774a088eb5e74ac2b4430883b02.jpg","text":"TemporaryFile(/tmp/multipartBody7860396987573694039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922134379,"filename":"image_16062025_15_17_04_10235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376455628","file1":"1376455624","file0":"1376455620","file4":"1376455651","file5":"1376455655","file3":"1376455638"},"map_files_photo_id_array":[{"photo_id":"1376455655","filename":"file5"},{"photo_id":"1376455628","filename":"file2"},{"photo_id":"1376455651","filename":"file4"},{"photo_id":"1376455624","filename":"file1"},{"photo_id":"1376455620","filename":"file0"},{"photo_id":"1376455638","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376455628":["hashtag1","hashtag2"]},{"1376455651":["hashtag1","hashtag2"]},{"1376455624":["hashtag1","hashtag2"]},{"1376455620":["hashtag1","hashtag2"]},{"1376455638":["hashtag1","hashtag2"]},{"1376455655":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376455628, 1376455651, 1376455624, 1376455620, 1376455638, 1376455655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.04344987869263 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:22:02.579729
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg', '/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg', '/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg
/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 132.822096824646 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:25:03.126759
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg', '/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg', '/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg
/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 132.71878337860107 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:29:03.351886
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg', '/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg', '/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg
/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376456863","1376456845","1376456854","1376456841","1376456859","1376456849"],"photo_ids_order":["1376456841","1376456845","1376456849","1376456854","1376456859","1376456863"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/525eba602dae7d3494a26115eb6783ab.jpg","text":"TemporaryFile(/tmp/multipartBody7723361313323387521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922622150,"filename":"image_16062025_15_16_04_8967.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/26c44f6d06a6a81b1c60ed409ea4c66e.jpg","text":"TemporaryFile(/tmp/multipartBody7467398847166596897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922622150,"filename":"image_16062025_15_16_44_9930.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d22f36ace4bf65901addd4ab67798abf.jpg","text":"TemporaryFile(/tmp/multipartBody4206302125734552183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922622150,"filename":"image_16062025_15_16_24_10000.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b397d0dfa2c016c51fec0687d22d3813.jpg","text":"TemporaryFile(/tmp/multipartBody3429471030469609680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922622150,"filename":"image_16062025_15_16_54_10031.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/52813e4071d951956c38bb487acab919.jpg","text":"TemporaryFile(/tmp/multipartBody7869549190286822662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922622150,"filename":"image_16062025_15_16_14_10134.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2718b7f6b29fdaf3b00ac7d9d795aa1a.jpg","text":"TemporaryFile(/tmp/multipartBody423929273754717450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754922622150,"filename":"image_16062025_15_16_34_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376456849","file1":"1376456845","file0":"1376456841","file4":"1376456859","file5":"1376456863","file3":"1376456854"},"map_files_photo_id_array":[{"photo_id":"1376456863","filename":"file5"},{"photo_id":"1376456849","filename":"file2"},{"photo_id":"1376456859","filename":"file4"},{"photo_id":"1376456845","filename":"file1"},{"photo_id":"1376456841","filename":"file0"},{"photo_id":"1376456854","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376456863":["hashtag1","hashtag2"]},{"1376456845":["hashtag1","hashtag2"]},{"1376456854":["hashtag1","hashtag2"]},{"1376456841":["hashtag1","hashtag2"]},{"1376456859":["hashtag1","hashtag2"]},{"1376456849":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376456863, 1376456845, 1376456854, 1376456841, 1376456859, 1376456849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.407286167144775 secondes ---
MMMMMM fin de la fonction upload
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:31:03.094078
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', '/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', '/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg
/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg
uploaded 0 photos
time to upload: 30.35847306251526 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:32:03.309942
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', '/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', '/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg
/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 126.77191400527954 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:35:03.643440
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', '/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', '/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg
/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 131.23808431625366 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:38:03.460924
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', '/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', '/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg
/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376457870","1376457858","1376457852","1376457849","1376457866","1376457862"],"photo_ids_order":["1376457849","1376457852","1376457858","1376457862","1376457866","1376457870"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4a9ada69086770e6318d179c758baa42.jpg","text":"TemporaryFile(/tmp/multipartBody8963614005472379169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923157119,"filename":"image_16062025_15_15_05_10236.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f6377712f94ff4375e4f47ed27e1c973.jpg","text":"TemporaryFile(/tmp/multipartBody4096690549374009526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923157119,"filename":"image_16062025_15_15_35_9987.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a30d0b07e021d79031ece931470887e0.jpg","text":"TemporaryFile(/tmp/multipartBody2674425252706297027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923157119,"filename":"image_16062025_15_15_45_9956.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/258123c73aa2526fa40dac74858631a9.jpg","text":"TemporaryFile(/tmp/multipartBody7807512036090791667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923157119,"filename":"image_16062025_15_15_55_10003.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/00271a04645866af8b4f33c37e1e79b5.jpg","text":"TemporaryFile(/tmp/multipartBody7712366739485710980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923157119,"filename":"image_16062025_15_15_15_10166.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7981c592e23213992c449658d5028b50.jpg","text":"TemporaryFile(/tmp/multipartBody4790536353126858396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923157119,"filename":"image_16062025_15_15_25_10069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376457858","file1":"1376457852","file0":"1376457849","file4":"1376457866","file5":"1376457870","file3":"1376457862"},"map_files_photo_id_array":[{"photo_id":"1376457870","filename":"file5"},{"photo_id":"1376457858","filename":"file2"},{"photo_id":"1376457866","filename":"file4"},{"photo_id":"1376457852","filename":"file1"},{"photo_id":"1376457849","filename":"file0"},{"photo_id":"1376457862","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376457870":["hashtag1","hashtag2"]},{"1376457858":["hashtag1","hashtag2"]},{"1376457852":["hashtag1","hashtag2"]},{"1376457849":["hashtag1","hashtag2"]},{"1376457866":["hashtag1","hashtag2"]},{"1376457862":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376457870, 1376457858, 1376457852, 1376457849, 1376457866, 1376457862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.47777342796326 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:39:03.176396
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/14/image_16062025_15_14_54_10123.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_14_44_10117.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_14_34_10165.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_14_24_10141.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_14_14_8934.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_14_05_10346.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/14/image_16062025_15_14_54_10123.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_44_10117.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_34_10165.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_24_10141.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_14_8934.jpg', '/mnt/data/16062025/15/13/image_16062025_15_14_05_10346.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/14/image_16062025_15_14_54_10123.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_44_10117.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_34_10165.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_24_10141.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_14_8934.jpg', '/mnt/data/16062025/15/13/image_16062025_15_14_05_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/14/image_16062025_15_14_54_10123.jpg
/mnt/data/16062025/15/14/image_16062025_15_14_44_10117.jpg
/mnt/data/16062025/15/14/image_16062025_15_14_34_10165.jpg
/mnt/data/16062025/15/14/image_16062025_15_14_24_10141.jpg
/mnt/data/16062025/15/14/image_16062025_15_14_14_8934.jpg
/mnt/data/16062025/15/13/image_16062025_15_14_05_10346.jpg
uploaded 0 photos
time to upload: 30.420153856277466 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:40:03.017430
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/14/image_16062025_15_14_54_10123.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_14_44_10117.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_14_34_10165.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_14_24_10141.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_14_14_8934.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_14_05_10346.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/14/image_16062025_15_14_54_10123.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_44_10117.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_34_10165.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_24_10141.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_14_8934.jpg', '/mnt/data/16062025/15/13/image_16062025_15_14_05_10346.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/14/image_16062025_15_14_54_10123.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_44_10117.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_34_10165.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_24_10141.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_14_8934.jpg', '/mnt/data/16062025/15/13/image_16062025_15_14_05_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/14/image_16062025_15_14_54_10123.jpg
/mnt/data/16062025/15/14/image_16062025_15_14_44_10117.jpg
/mnt/data/16062025/15/14/image_16062025_15_14_34_10165.jpg
/mnt/data/16062025/15/14/image_16062025_15_14_24_10141.jpg
/mnt/data/16062025/15/14/image_16062025_15_14_14_8934.jpg
/mnt/data/16062025/15/13/image_16062025_15_14_05_10346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376457943","1376457939","1376457927","1376457923","1376457932","1376457935"],"photo_ids_order":["1376457923","1376457927","1376457932","1376457935","1376457939","1376457943"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1de7b88d80e905d9c95f26cb08511306.jpg","text":"TemporaryFile(/tmp/multipartBody984957479769546214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923283078,"filename":"image_16062025_15_14_05_10346.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9110ea33acc80d5c3b6a8c81d611d0ab.jpg","text":"TemporaryFile(/tmp/multipartBody1624290002285619058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923283078,"filename":"image_16062025_15_14_14_8934.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f835ee27ae67ed2a6b965b20e6e92ace.jpg","text":"TemporaryFile(/tmp/multipartBody3072119921619922245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923283078,"filename":"image_16062025_15_14_44_10117.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0a742c8b41d1a2793530de5defd996e5.jpg","text":"TemporaryFile(/tmp/multipartBody4253423773293694921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923283078,"filename":"image_16062025_15_14_54_10123.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/109014ef0cfbc57bc44afc12a6f8cbab.jpg","text":"TemporaryFile(/tmp/multipartBody3102665121274741206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923283078,"filename":"image_16062025_15_14_34_10165.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/361ee9a0f2a3ec564f4969191581d07d.jpg","text":"TemporaryFile(/tmp/multipartBody9060434023906596293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923283078,"filename":"image_16062025_15_14_24_10141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376457932","file1":"1376457927","file0":"1376457923","file4":"1376457939","file5":"1376457943","file3":"1376457935"},"map_files_photo_id_array":[{"photo_id":"1376457943","filename":"file5"},{"photo_id":"1376457932","filename":"file2"},{"photo_id":"1376457939","filename":"file4"},{"photo_id":"1376457927","filename":"file1"},{"photo_id":"1376457923","filename":"file0"},{"photo_id":"1376457935","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376457943":["hashtag1","hashtag2"]},{"1376457939":["hashtag1","hashtag2"]},{"1376457927":["hashtag1","hashtag2"]},{"1376457923":["hashtag1","hashtag2"]},{"1376457932":["hashtag1","hashtag2"]},{"1376457935":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376457943, 1376457939, 1376457927, 1376457923, 1376457932, 1376457935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.3471302986145 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:42:02.763729
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg', 2), ('/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg', '/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg', '/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg
/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.21395468711853 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:45:03.532589
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg', 2), ('/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg', '/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg', '/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg
/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 15.581573247909546 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:46:03.202780
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg', 2), ('/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg', '/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg', '/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg
/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376459052","1376459162","1376459132","1376459135","1376459122","1376459085"],"photo_ids_order":["1376459052","1376459085","1376459122","1376459132","1376459135","1376459162"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ca1170244ace0043cdccb9bbf9e2b56f.jpg","text":"TemporaryFile(/tmp/multipartBody4936702154789640899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923644069,"filename":"image_16062025_15_13_54_10147.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a217e150aa78d72a4c03f0c09e707443.jpg","text":"TemporaryFile(/tmp/multipartBody2016815222968228507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923644069,"filename":"image_16062025_15_13_04_10179.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/eed2fb6b0b4ab62a7e3969db637736a0.jpg","text":"TemporaryFile(/tmp/multipartBody6348981272944910039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923644069,"filename":"image_16062025_15_13_24_10089.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e87f26bc7de3ce1f76155122996dc0db.jpg","text":"TemporaryFile(/tmp/multipartBody6402310415543473104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923644069,"filename":"image_16062025_15_13_14_9988.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d40c7ffe8c15ba08b3fafaa6a92d9a3f.jpg","text":"TemporaryFile(/tmp/multipartBody5462648886199022638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923644069,"filename":"image_16062025_15_13_34_10158.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cf3b584aec9850e2d0ffb03da2a24b61.jpg","text":"TemporaryFile(/tmp/multipartBody8709956758065861912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923644069,"filename":"image_16062025_15_13_44_10138.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376459122","file1":"1376459085","file0":"1376459052","file4":"1376459135","file5":"1376459162","file3":"1376459132"},"map_files_photo_id_array":[{"photo_id":"1376459162","filename":"file5"},{"photo_id":"1376459122","filename":"file2"},{"photo_id":"1376459135","filename":"file4"},{"photo_id":"1376459085","filename":"file1"},{"photo_id":"1376459052","filename":"file0"},{"photo_id":"1376459132","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376459052":["hashtag1","hashtag2"]},{"1376459162":["hashtag1","hashtag2"]},{"1376459132":["hashtag1","hashtag2"]},{"1376459135":["hashtag1","hashtag2"]},{"1376459122":["hashtag1","hashtag2"]},{"1376459085":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376459052, 1376459162, 1376459132, 1376459135, 1376459122, 1376459085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.382078647613525 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:48:03.222803
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/12/image_16062025_15_12_54_9920.jpg', 2), ('/mnt/data/16062025/15/12/image_16062025_15_12_44_9932.jpg', 2), ('/mnt/data/16062025/15/12/image_16062025_15_12_34_9932.jpg', 2), ('/mnt/data/16062025/15/12/image_16062025_15_12_24_9902.jpg', 2), ('/mnt/data/16062025/15/12/image_16062025_15_12_14_9934.jpg', 2), ('/mnt/data/16062025/15/11/image_16062025_15_12_04_10140.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/12/image_16062025_15_12_54_9920.jpg', '/mnt/data/16062025/15/12/image_16062025_15_12_44_9932.jpg', '/mnt/data/16062025/15/12/image_16062025_15_12_34_9932.jpg', '/mnt/data/16062025/15/12/image_16062025_15_12_24_9902.jpg', '/mnt/data/16062025/15/12/image_16062025_15_12_14_9934.jpg', '/mnt/data/16062025/15/11/image_16062025_15_12_04_10140.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/12/image_16062025_15_12_54_9920.jpg', '/mnt/data/16062025/15/12/image_16062025_15_12_44_9932.jpg', '/mnt/data/16062025/15/12/image_16062025_15_12_34_9932.jpg', '/mnt/data/16062025/15/12/image_16062025_15_12_24_9902.jpg', '/mnt/data/16062025/15/12/image_16062025_15_12_14_9934.jpg', '/mnt/data/16062025/15/11/image_16062025_15_12_04_10140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/12/image_16062025_15_12_54_9920.jpg
/mnt/data/16062025/15/12/image_16062025_15_12_44_9932.jpg
/mnt/data/16062025/15/12/image_16062025_15_12_34_9932.jpg
/mnt/data/16062025/15/12/image_16062025_15_12_24_9902.jpg
/mnt/data/16062025/15/12/image_16062025_15_12_14_9934.jpg
/mnt/data/16062025/15/11/image_16062025_15_12_04_10140.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376459288","1376459282","1376459285","1376459273","1376459278","1376459271"],"photo_ids_order":["1376459271","1376459273","1376459278","1376459282","1376459285","1376459288"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/935271e4c0e8820eb914054748daf940.jpg","text":"TemporaryFile(/tmp/multipartBody1302161531392428766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923746044,"filename":"image_16062025_15_12_04_10140.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/da1b82ad205e159f09bbf605bc48b194.jpg","text":"TemporaryFile(/tmp/multipartBody1311756993049913016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923746044,"filename":"image_16062025_15_12_24_9902.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0899bf7a7a78ac9fa5d1a06e2f9989bf.jpg","text":"TemporaryFile(/tmp/multipartBody1807064974003401033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923746044,"filename":"image_16062025_15_12_14_9934.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d598a07e871ddab038e72367c45842e5.jpg","text":"TemporaryFile(/tmp/multipartBody7831944808702995618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923746044,"filename":"image_16062025_15_12_44_9932.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/83dd2003dee070f12a23c4d0eeb8c814.jpg","text":"TemporaryFile(/tmp/multipartBody6793011223876204167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923746044,"filename":"image_16062025_15_12_34_9932.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/07160c378189a7a08860d7fabb2f5951.jpg","text":"TemporaryFile(/tmp/multipartBody8674037400891430389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923746044,"filename":"image_16062025_15_12_54_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376459278","file1":"1376459273","file0":"1376459271","file4":"1376459285","file5":"1376459288","file3":"1376459282"},"map_files_photo_id_array":[{"photo_id":"1376459288","filename":"file5"},{"photo_id":"1376459278","filename":"file2"},{"photo_id":"1376459285","filename":"file4"},{"photo_id":"1376459273","filename":"file1"},{"photo_id":"1376459271","filename":"file0"},{"photo_id":"1376459282","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376459288":["hashtag1","hashtag2"]},{"1376459282":["hashtag1","hashtag2"]},{"1376459285":["hashtag1","hashtag2"]},{"1376459273":["hashtag1","hashtag2"]},{"1376459278":["hashtag1","hashtag2"]},{"1376459271":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376459288, 1376459282, 1376459285, 1376459273, 1376459278, 1376459271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.617088317871094 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:49:03.321583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/11/image_16062025_15_11_54_9927.jpg', 2), ('/mnt/data/16062025/15/11/image_16062025_15_11_44_9960.jpg', 2), ('/mnt/data/16062025/15/11/image_16062025_15_11_34_9976.jpg', 2), ('/mnt/data/16062025/15/11/image_16062025_15_11_24_9939.jpg', 2), ('/mnt/data/16062025/15/11/image_16062025_15_11_14_9945.jpg', 2), ('/mnt/data/16062025/15/10/image_16062025_15_11_04_10050.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/11/image_16062025_15_11_54_9927.jpg', '/mnt/data/16062025/15/11/image_16062025_15_11_44_9960.jpg', '/mnt/data/16062025/15/11/image_16062025_15_11_34_9976.jpg', '/mnt/data/16062025/15/11/image_16062025_15_11_24_9939.jpg', '/mnt/data/16062025/15/11/image_16062025_15_11_14_9945.jpg', '/mnt/data/16062025/15/10/image_16062025_15_11_04_10050.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/11/image_16062025_15_11_54_9927.jpg', '/mnt/data/16062025/15/11/image_16062025_15_11_44_9960.jpg', '/mnt/data/16062025/15/11/image_16062025_15_11_34_9976.jpg', '/mnt/data/16062025/15/11/image_16062025_15_11_24_9939.jpg', '/mnt/data/16062025/15/11/image_16062025_15_11_14_9945.jpg', '/mnt/data/16062025/15/10/image_16062025_15_11_04_10050.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/11/image_16062025_15_11_54_9927.jpg
/mnt/data/16062025/15/11/image_16062025_15_11_44_9960.jpg
/mnt/data/16062025/15/11/image_16062025_15_11_34_9976.jpg
/mnt/data/16062025/15/11/image_16062025_15_11_24_9939.jpg
/mnt/data/16062025/15/11/image_16062025_15_11_14_9945.jpg
/mnt/data/16062025/15/10/image_16062025_15_11_04_10050.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376459355","1376459456","1376459482","1376459398","1376459434","1376459478"],"photo_ids_order":["1376459355","1376459398","1376459434","1376459456","1376459478","1376459482"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fe1d1967130429df92edec55cba0a853.jpg","text":"TemporaryFile(/tmp/multipartBody6824301580268780186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923818134,"filename":"image_16062025_15_11_54_9927.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/83e4485b43847b76b558ec44a4322398.jpg","text":"TemporaryFile(/tmp/multipartBody1825737601049680227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923818134,"filename":"image_16062025_15_11_24_9939.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/424638498af084063ce0b1354f16e2a5.jpg","text":"TemporaryFile(/tmp/multipartBody6699665379029119004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923818134,"filename":"image_16062025_15_11_04_10050.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0a75ac4d8e3dc7f6b2c1973a08059718.jpg","text":"TemporaryFile(/tmp/multipartBody3698935336516599510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923818134,"filename":"image_16062025_15_11_44_9960.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6cc558dbf1d70289c8d404c4046eeff1.jpg","text":"TemporaryFile(/tmp/multipartBody578136132216761105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923818134,"filename":"image_16062025_15_11_34_9976.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/96d597a1a462af1d4f479c5f42b96196.jpg","text":"TemporaryFile(/tmp/multipartBody8685630056785031213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923818134,"filename":"image_16062025_15_11_14_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376459434","file1":"1376459398","file0":"1376459355","file4":"1376459478","file5":"1376459482","file3":"1376459456"},"map_files_photo_id_array":[{"photo_id":"1376459482","filename":"file5"},{"photo_id":"1376459434","filename":"file2"},{"photo_id":"1376459478","filename":"file4"},{"photo_id":"1376459398","filename":"file1"},{"photo_id":"1376459355","filename":"file0"},{"photo_id":"1376459456","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376459355":["hashtag1","hashtag2"]},{"1376459456":["hashtag1","hashtag2"]},{"1376459482":["hashtag1","hashtag2"]},{"1376459398":["hashtag1","hashtag2"]},{"1376459434":["hashtag1","hashtag2"]},{"1376459478":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376459355, 1376459456, 1376459482, 1376459398, 1376459434, 1376459478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.52421188354492 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:50:02.900705
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/10/image_16062025_15_10_54_9971.jpg', 2), ('/mnt/data/16062025/15/10/image_16062025_15_10_44_9906.jpg', 2), ('/mnt/data/16062025/15/10/image_16062025_15_10_34_10011.jpg', 2), ('/mnt/data/16062025/15/10/image_16062025_15_10_24_10033.jpg', 2), ('/mnt/data/16062025/15/10/image_16062025_15_10_14_10197.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_10_04_9342.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/10/image_16062025_15_10_54_9971.jpg', '/mnt/data/16062025/15/10/image_16062025_15_10_44_9906.jpg', '/mnt/data/16062025/15/10/image_16062025_15_10_34_10011.jpg', '/mnt/data/16062025/15/10/image_16062025_15_10_24_10033.jpg', '/mnt/data/16062025/15/10/image_16062025_15_10_14_10197.jpg', '/mnt/data/16062025/15/09/image_16062025_15_10_04_9342.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/10/image_16062025_15_10_54_9971.jpg', '/mnt/data/16062025/15/10/image_16062025_15_10_44_9906.jpg', '/mnt/data/16062025/15/10/image_16062025_15_10_34_10011.jpg', '/mnt/data/16062025/15/10/image_16062025_15_10_24_10033.jpg', '/mnt/data/16062025/15/10/image_16062025_15_10_14_10197.jpg', '/mnt/data/16062025/15/09/image_16062025_15_10_04_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/10/image_16062025_15_10_54_9971.jpg
/mnt/data/16062025/15/10/image_16062025_15_10_44_9906.jpg
/mnt/data/16062025/15/10/image_16062025_15_10_34_10011.jpg
/mnt/data/16062025/15/10/image_16062025_15_10_24_10033.jpg
/mnt/data/16062025/15/10/image_16062025_15_10_14_10197.jpg
/mnt/data/16062025/15/09/image_16062025_15_10_04_9342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376459610","1376459613","1376459622","1376459618","1376459603","1376459606"],"photo_ids_order":["1376459603","1376459606","1376459610","1376459613","1376459618","1376459622"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/86ec6b9a99c9cfd387e30956647aa153.jpg","text":"TemporaryFile(/tmp/multipartBody5016512843402542973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923886508,"filename":"image_16062025_15_10_34_10011.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3bb53346594e6153c717d972688c34d7.jpg","text":"TemporaryFile(/tmp/multipartBody6364259457877479989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923886508,"filename":"image_16062025_15_10_24_10033.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ea15397c00424b969bd5702fdeeb0fe8.jpg","text":"TemporaryFile(/tmp/multipartBody924832251648088907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923886508,"filename":"image_16062025_15_10_04_9342.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b16bb201e79b554014e91a8ad303dd5c.jpg","text":"TemporaryFile(/tmp/multipartBody5591351886921626678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923886508,"filename":"image_16062025_15_10_14_10197.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ca972fd4f1019d9cd0827f454553e003.jpg","text":"TemporaryFile(/tmp/multipartBody8484827249812065543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923886508,"filename":"image_16062025_15_10_54_9971.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2b5f2d0ccf68befbaae599a3600b3092.jpg","text":"TemporaryFile(/tmp/multipartBody6856115815086145082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754923886508,"filename":"image_16062025_15_10_44_9906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376459610","file1":"1376459606","file0":"1376459603","file4":"1376459618","file5":"1376459622","file3":"1376459613"},"map_files_photo_id_array":[{"photo_id":"1376459622","filename":"file5"},{"photo_id":"1376459610","filename":"file2"},{"photo_id":"1376459618","filename":"file4"},{"photo_id":"1376459606","filename":"file1"},{"photo_id":"1376459603","filename":"file0"},{"photo_id":"1376459613","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376459610":["hashtag1","hashtag2"]},{"1376459613":["hashtag1","hashtag2"]},{"1376459622":["hashtag1","hashtag2"]},{"1376459618":["hashtag1","hashtag2"]},{"1376459603":["hashtag1","hashtag2"]},{"1376459606":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376459610, 1376459613, 1376459622, 1376459618, 1376459603, 1376459606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.09662747383118 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:52:03.396870
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg
/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 141.3609652519226 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:55:03.434305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg
/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 138.56578302383423 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 16:59:02.973834
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg
/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 141.90368795394897 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:02:02.872599
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg
/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 138.96932721138 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:05:03.231094
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg
/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg
uploaded 0 photos
time to upload: 30.544828414916992 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:06:02.871442
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg
/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg
uploaded 0 photos
time to upload: 30.29303765296936 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:07:02.704332
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg
/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 132.86518836021423 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:10:02.725276
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg
/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376463892","1376463895","1376463888","1376463879","1376463873","1376463884"],"photo_ids_order":["1376463873","1376463879","1376463884","1376463888","1376463892","1376463895"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/458f4248b60691041ff5419e82b6b1d5.jpg","text":"TemporaryFile(/tmp/multipartBody8460251246389265665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925087204,"filename":"image_16062025_15_09_14_10168.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d75295e5b784621c24150f53d48f46d7.jpg","text":"TemporaryFile(/tmp/multipartBody2424929259843215189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925087204,"filename":"image_16062025_15_09_04_9133.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/527f4da4157c6ae5caf380a6d21ebb4e.jpg","text":"TemporaryFile(/tmp/multipartBody5829419783107081888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925087204,"filename":"image_16062025_15_09_24_10201.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/10da2c876ddb42e966b56ff08cc1dc44.jpg","text":"TemporaryFile(/tmp/multipartBody8461933055210555383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925087204,"filename":"image_16062025_15_09_45_10236.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/86d6e847c479d6ee70cf2d3e2624b4db.jpg","text":"TemporaryFile(/tmp/multipartBody2626450448255946373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925087204,"filename":"image_16062025_15_09_55_10255.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d4732c5634c27973c4d464d49a508e5b.jpg","text":"TemporaryFile(/tmp/multipartBody1460448776577516691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925087204,"filename":"image_16062025_15_09_34_10166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376463884","file1":"1376463879","file0":"1376463873","file4":"1376463892","file5":"1376463895","file3":"1376463888"},"map_files_photo_id_array":[{"photo_id":"1376463895","filename":"file5"},{"photo_id":"1376463884","filename":"file2"},{"photo_id":"1376463892","filename":"file4"},{"photo_id":"1376463879","filename":"file1"},{"photo_id":"1376463873","filename":"file0"},{"photo_id":"1376463888","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376463892":["hashtag1","hashtag2"]},{"1376463895":["hashtag1","hashtag2"]},{"1376463888":["hashtag1","hashtag2"]},{"1376463879":["hashtag1","hashtag2"]},{"1376463873":["hashtag1","hashtag2"]},{"1376463884":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376463892, 1376463895, 1376463888, 1376463879, 1376463873, 1376463884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.33828711509705 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:12:03.001526
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg', '/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg', '/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg
/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 149.49200463294983 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:15:03.357337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg', '/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg', '/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg
/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 139.4642744064331 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:18:03.209932
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg', '/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg', '/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg
/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376464405","1376464414","1376464416","1376464409","1376464418","1376464403"],"photo_ids_order":["1376464403","1376464405","1376464409","1376464414","1376464416","1376464418"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ce3b4300930aa20434d0bd834984ce2e.jpg","text":"TemporaryFile(/tmp/multipartBody1527148441376623244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925574627,"filename":"image_16062025_15_08_44_10184.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0b1579fde8a55c9123e02b9e5152f52f.jpg","text":"TemporaryFile(/tmp/multipartBody1533229659058564289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925574627,"filename":"image_16062025_15_08_24_10106.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/491522d4cfc84abe102f948b06234cfb.jpg","text":"TemporaryFile(/tmp/multipartBody5720308965627688741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925574627,"filename":"image_16062025_15_08_14_10219.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/84b689fa6aa9b9674bdcf165eef92787.jpg","text":"TemporaryFile(/tmp/multipartBody2657262940931947589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925574627,"filename":"image_16062025_15_08_34_10112.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/53b817b64f7019a2bf94f48007b0aa39.jpg","text":"TemporaryFile(/tmp/multipartBody599586167032679772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925574627,"filename":"image_16062025_15_08_04_9135.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/65465a2749771834a76c2585b1c87cc0.jpg","text":"TemporaryFile(/tmp/multipartBody7164999949594982449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925574627,"filename":"image_16062025_15_08_55_10156.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376464409","file1":"1376464405","file0":"1376464403","file4":"1376464416","file5":"1376464418","file3":"1376464414"},"map_files_photo_id_array":[{"photo_id":"1376464418","filename":"file5"},{"photo_id":"1376464409","filename":"file2"},{"photo_id":"1376464416","filename":"file4"},{"photo_id":"1376464405","filename":"file1"},{"photo_id":"1376464403","filename":"file0"},{"photo_id":"1376464414","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376464405":["hashtag1","hashtag2"]},{"1376464414":["hashtag1","hashtag2"]},{"1376464416":["hashtag1","hashtag2"]},{"1376464409":["hashtag1","hashtag2"]},{"1376464418":["hashtag1","hashtag2"]},{"1376464403":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376464405, 1376464414, 1376464416, 1376464409, 1376464418, 1376464403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.76496601104736 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:20:02.410275
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/07/image_16062025_15_07_55_10075.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_07_45_10169.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_07_34_10086.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_07_24_10150.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_07_14_10193.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_07_04_10302.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/07/image_16062025_15_07_55_10075.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_45_10169.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_34_10086.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_24_10150.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_14_10193.jpg', '/mnt/data/16062025/15/06/image_16062025_15_07_04_10302.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/07/image_16062025_15_07_55_10075.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_45_10169.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_34_10086.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_24_10150.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_14_10193.jpg', '/mnt/data/16062025/15/06/image_16062025_15_07_04_10302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/07/image_16062025_15_07_55_10075.jpg
/mnt/data/16062025/15/07/image_16062025_15_07_45_10169.jpg
/mnt/data/16062025/15/07/image_16062025_15_07_34_10086.jpg
/mnt/data/16062025/15/07/image_16062025_15_07_24_10150.jpg
/mnt/data/16062025/15/07/image_16062025_15_07_14_10193.jpg
/mnt/data/16062025/15/06/image_16062025_15_07_04_10302.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 144.9432647228241 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:23:03.471463
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/07/image_16062025_15_07_55_10075.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_07_45_10169.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_07_34_10086.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_07_24_10150.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_07_14_10193.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_07_04_10302.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/07/image_16062025_15_07_55_10075.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_45_10169.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_34_10086.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_24_10150.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_14_10193.jpg', '/mnt/data/16062025/15/06/image_16062025_15_07_04_10302.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/07/image_16062025_15_07_55_10075.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_45_10169.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_34_10086.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_24_10150.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_14_10193.jpg', '/mnt/data/16062025/15/06/image_16062025_15_07_04_10302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/07/image_16062025_15_07_55_10075.jpg
/mnt/data/16062025/15/07/image_16062025_15_07_45_10169.jpg
/mnt/data/16062025/15/07/image_16062025_15_07_34_10086.jpg
/mnt/data/16062025/15/07/image_16062025_15_07_24_10150.jpg
/mnt/data/16062025/15/07/image_16062025_15_07_14_10193.jpg
/mnt/data/16062025/15/06/image_16062025_15_07_04_10302.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376465382","1376465373","1376465367","1376465378","1376465386","1376465362"],"photo_ids_order":["1376465362","1376465367","1376465373","1376465378","1376465382","1376465386"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5b4757434c08335bda716acfd6bf6cbf.jpg","text":"TemporaryFile(/tmp/multipartBody8908751279106670805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925866023,"filename":"image_16062025_15_07_14_10193.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1740bfff66d6e4296a021665c4388822.jpg","text":"TemporaryFile(/tmp/multipartBody1726896143493383875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925866023,"filename":"image_16062025_15_07_34_10086.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/55b714e8d979cb81ac7680d2fc656249.jpg","text":"TemporaryFile(/tmp/multipartBody6177426479461207524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925866023,"filename":"image_16062025_15_07_45_10169.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ad3dc55322c53e8730cd48190ec269b9.jpg","text":"TemporaryFile(/tmp/multipartBody6451417380438568070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925866023,"filename":"image_16062025_15_07_24_10150.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c8d6b85bc5308a5cff94f08fc98e2647.jpg","text":"TemporaryFile(/tmp/multipartBody8160156751243775133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925866023,"filename":"image_16062025_15_07_04_10302.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/59c379e80c66459a3b0e13299cff2d18.jpg","text":"TemporaryFile(/tmp/multipartBody7338616644548575068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754925866023,"filename":"image_16062025_15_07_55_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376465373","file1":"1376465367","file0":"1376465362","file4":"1376465382","file5":"1376465386","file3":"1376465378"},"map_files_photo_id_array":[{"photo_id":"1376465386","filename":"file5"},{"photo_id":"1376465373","filename":"file2"},{"photo_id":"1376465382","filename":"file4"},{"photo_id":"1376465367","filename":"file1"},{"photo_id":"1376465362","filename":"file0"},{"photo_id":"1376465378","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376465382":["hashtag1","hashtag2"]},{"1376465373":["hashtag1","hashtag2"]},{"1376465367":["hashtag1","hashtag2"]},{"1376465378":["hashtag1","hashtag2"]},{"1376465386":["hashtag1","hashtag2"]},{"1376465362":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376465382, 1376465373, 1376465367, 1376465378, 1376465386, 1376465362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.17305278778076 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:25:03.280538
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', 2), ('/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', '/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', '/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg
/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg
uploaded 0 photos
time to upload: 30.371739864349365 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:26:02.691612
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', 2), ('/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', '/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', '/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg
/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg
uploaded 0 photos
time to upload: 30.314047813415527 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:27:02.706443
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', 2), ('/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', '/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', '/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg
/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg
uploaded 0 photos
time to upload: 30.305352210998535 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:28:03.392706
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', 2), ('/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', '/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', '/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg
/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376465556","1376465565","1376465550","1376465553","1376465561","1376465558"],"photo_ids_order":["1376465550","1376465553","1376465556","1376465558","1376465561","1376465565"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/385651c01e1b7bcc5f9a066729fb5a1a.jpg","text":"TemporaryFile(/tmp/multipartBody8674906451501816864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926163662,"filename":"image_16062025_15_06_35_10370.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5a372ed21fbe9e2e395e7ca9207c4b18.jpg","text":"TemporaryFile(/tmp/multipartBody8814904325475941781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926163662,"filename":"image_16062025_15_06_04_10527.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/674f6061ba7b8aa52713d02c87576d7d.jpg","text":"TemporaryFile(/tmp/multipartBody5301911508266319815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926163662,"filename":"image_16062025_15_06_54_9010.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/440c76ed34e2a1c867ea1897a7bfc656.jpg","text":"TemporaryFile(/tmp/multipartBody8443277738173022885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926163662,"filename":"image_16062025_15_06_45_10177.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6b8d90be309003c03091e02a91cf4b5b.jpg","text":"TemporaryFile(/tmp/multipartBody7386586779180573426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926163662,"filename":"image_16062025_15_06_14_9403.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3ce7febb0a2c4ebfc095783aff1964f0.jpg","text":"TemporaryFile(/tmp/multipartBody5189808733193413511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926163662,"filename":"image_16062025_15_06_24_10311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376465556","file1":"1376465553","file0":"1376465550","file4":"1376465561","file5":"1376465565","file3":"1376465558"},"map_files_photo_id_array":[{"photo_id":"1376465565","filename":"file5"},{"photo_id":"1376465556","filename":"file2"},{"photo_id":"1376465561","filename":"file4"},{"photo_id":"1376465553","filename":"file1"},{"photo_id":"1376465550","filename":"file0"},{"photo_id":"1376465558","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376465556":["hashtag1","hashtag2"]},{"1376465565":["hashtag1","hashtag2"]},{"1376465550":["hashtag1","hashtag2"]},{"1376465553":["hashtag1","hashtag2"]},{"1376465561":["hashtag1","hashtag2"]},{"1376465558":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376465556, 1376465565, 1376465550, 1376465553, 1376465561, 1376465558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.40253257751465 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:30:02.922101
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/05/image_16062025_15_05_54_10027.jpg', 2), ('/mnt/data/16062025/15/05/image_16062025_15_05_45_10149.jpg', 2), ('/mnt/data/16062025/15/05/image_16062025_15_05_34_8901.jpg', 2), ('/mnt/data/16062025/15/05/image_16062025_15_05_25_10198.jpg', 2), ('/mnt/data/16062025/15/05/image_16062025_15_05_15_10212.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_05_04_10376.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/05/image_16062025_15_05_54_10027.jpg', '/mnt/data/16062025/15/05/image_16062025_15_05_45_10149.jpg', '/mnt/data/16062025/15/05/image_16062025_15_05_34_8901.jpg', '/mnt/data/16062025/15/05/image_16062025_15_05_25_10198.jpg', '/mnt/data/16062025/15/05/image_16062025_15_05_15_10212.jpg', '/mnt/data/16062025/15/04/image_16062025_15_05_04_10376.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/05/image_16062025_15_05_54_10027.jpg', '/mnt/data/16062025/15/05/image_16062025_15_05_45_10149.jpg', '/mnt/data/16062025/15/05/image_16062025_15_05_34_8901.jpg', '/mnt/data/16062025/15/05/image_16062025_15_05_25_10198.jpg', '/mnt/data/16062025/15/05/image_16062025_15_05_15_10212.jpg', '/mnt/data/16062025/15/04/image_16062025_15_05_04_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/05/image_16062025_15_05_54_10027.jpg
/mnt/data/16062025/15/05/image_16062025_15_05_45_10149.jpg
/mnt/data/16062025/15/05/image_16062025_15_05_34_8901.jpg
/mnt/data/16062025/15/05/image_16062025_15_05_25_10198.jpg
/mnt/data/16062025/15/05/image_16062025_15_05_15_10212.jpg
/mnt/data/16062025/15/04/image_16062025_15_05_04_10376.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376465736","1376465739","1376465747","1376465741","1376465743","1376465737"],"photo_ids_order":["1376465736","1376465737","1376465739","1376465741","1376465743","1376465747"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/649ccc44df9fd3177f850937f75f7049.jpg","text":"TemporaryFile(/tmp/multipartBody51768444435567683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926282881,"filename":"image_16062025_15_05_54_10027.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/18dffa95891ad4a30caf4f237c5a3f1b.jpg","text":"TemporaryFile(/tmp/multipartBody8665850261445947781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926282881,"filename":"image_16062025_15_05_34_8901.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d00e3dbc4730fcfe9e34991c6207a553.jpg","text":"TemporaryFile(/tmp/multipartBody6543584081964618225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926282881,"filename":"image_16062025_15_05_04_10376.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ae67530b25c611707635c243ba1b7f11.jpg","text":"TemporaryFile(/tmp/multipartBody3978686958808863987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926282881,"filename":"image_16062025_15_05_25_10198.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2f244d7c72df19a08cbadac30335792a.jpg","text":"TemporaryFile(/tmp/multipartBody427957291974640817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926282881,"filename":"image_16062025_15_05_15_10212.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/211d6d583415b0baac3e8f8b904b348e.jpg","text":"TemporaryFile(/tmp/multipartBody8001280070400525066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926282881,"filename":"image_16062025_15_05_45_10149.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376465739","file1":"1376465737","file0":"1376465736","file4":"1376465743","file5":"1376465747","file3":"1376465741"},"map_files_photo_id_array":[{"photo_id":"1376465747","filename":"file5"},{"photo_id":"1376465739","filename":"file2"},{"photo_id":"1376465743","filename":"file4"},{"photo_id":"1376465737","filename":"file1"},{"photo_id":"1376465736","filename":"file0"},{"photo_id":"1376465741","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376465736":["hashtag1","hashtag2"]},{"1376465739":["hashtag1","hashtag2"]},{"1376465747":["hashtag1","hashtag2"]},{"1376465741":["hashtag1","hashtag2"]},{"1376465743":["hashtag1","hashtag2"]},{"1376465737":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376465736, 1376465739, 1376465747, 1376465741, 1376465743, 1376465737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.043667793273926 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:32:02.976897
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', 2), ('/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', '/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', '/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg
/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg
uploaded 0 photos
time to upload: 30.359221935272217 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:33:03.147605
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', 2), ('/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', '/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', '/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg
/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg
uploaded 0 photos
time to upload: 30.344221830368042 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:34:02.888033
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', 2), ('/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', '/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', '/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg
/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg
uploaded 0 photos
time to upload: 30.315958738327026 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:35:03.347703
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', 2), ('/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', '/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', '/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg
/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 142.97410655021667 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:38:03.138407
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', 2), ('/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', '/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', '/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg
/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376466213","1376466222","1376466216","1376466224","1376466227","1376466220"],"photo_ids_order":["1376466213","1376466216","1376466220","1376466222","1376466224","1376466227"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8c3c9d94e66f35705e1a5c9682eb4f6d.jpg","text":"TemporaryFile(/tmp/multipartBody3445103108706958234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926764171,"filename":"image_16062025_15_04_54_10133.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a7e0d69e6d4dbd9bf2eb83019ac180d8.jpg","text":"TemporaryFile(/tmp/multipartBody411726499146198340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926764171,"filename":"image_16062025_15_04_25_10133.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5652f31844ed9126191eea3b96f832be.jpg","text":"TemporaryFile(/tmp/multipartBody992294688962909592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926764171,"filename":"image_16062025_15_04_44_10203.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/91bb4821b88e62b23f2165ea6b08ae3a.jpg","text":"TemporaryFile(/tmp/multipartBody7299612567604983344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926764171,"filename":"image_16062025_15_04_15_10155.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b5f1b14238a6b1269640a305b0fdbf5f.jpg","text":"TemporaryFile(/tmp/multipartBody1884810219173955256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926764171,"filename":"image_16062025_15_04_04_10477.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d54358f190da7e2797ca20074314e673.jpg","text":"TemporaryFile(/tmp/multipartBody444884364384658984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926764171,"filename":"image_16062025_15_04_34_8925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376466220","file1":"1376466216","file0":"1376466213","file4":"1376466224","file5":"1376466227","file3":"1376466222"},"map_files_photo_id_array":[{"photo_id":"1376466227","filename":"file5"},{"photo_id":"1376466220","filename":"file2"},{"photo_id":"1376466224","filename":"file4"},{"photo_id":"1376466216","filename":"file1"},{"photo_id":"1376466213","filename":"file0"},{"photo_id":"1376466222","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376466213":["hashtag1","hashtag2"]},{"1376466222":["hashtag1","hashtag2"]},{"1376466216":["hashtag1","hashtag2"]},{"1376466224":["hashtag1","hashtag2"]},{"1376466227":["hashtag1","hashtag2"]},{"1376466220":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376466213, 1376466222, 1376466216, 1376466224, 1376466227, 1376466220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.75507473945618 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:40:03.359630
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/03/image_16062025_15_03_54_9992.jpg', 2), ('/mnt/data/16062025/15/03/image_16062025_15_03_44_9993.jpg', 2), ('/mnt/data/16062025/15/03/image_16062025_15_03_34_10119.jpg', 2), ('/mnt/data/16062025/15/02/image_16062025_15_03_04_9045.jpg', 2), ('/mnt/data/16062025/15/02/image_16062025_15_02_34_10058.jpg', 2), ('/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/03/image_16062025_15_03_54_9992.jpg', '/mnt/data/16062025/15/03/image_16062025_15_03_44_9993.jpg', '/mnt/data/16062025/15/03/image_16062025_15_03_34_10119.jpg', '/mnt/data/16062025/15/02/image_16062025_15_03_04_9045.jpg', '/mnt/data/16062025/15/02/image_16062025_15_02_34_10058.jpg', '/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/03/image_16062025_15_03_54_9992.jpg', '/mnt/data/16062025/15/03/image_16062025_15_03_44_9993.jpg', '/mnt/data/16062025/15/03/image_16062025_15_03_34_10119.jpg', '/mnt/data/16062025/15/02/image_16062025_15_03_04_9045.jpg', '/mnt/data/16062025/15/02/image_16062025_15_02_34_10058.jpg', '/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/03/image_16062025_15_03_54_9992.jpg
/mnt/data/16062025/15/03/image_16062025_15_03_44_9993.jpg
/mnt/data/16062025/15/03/image_16062025_15_03_34_10119.jpg
/mnt/data/16062025/15/02/image_16062025_15_03_04_9045.jpg
/mnt/data/16062025/15/02/image_16062025_15_02_34_10058.jpg
/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg
uploaded 0 photos
time to upload: 30.352322340011597 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:41:03.272732
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/03/image_16062025_15_03_54_9992.jpg', 2), ('/mnt/data/16062025/15/03/image_16062025_15_03_44_9993.jpg', 2), ('/mnt/data/16062025/15/03/image_16062025_15_03_34_10119.jpg', 2), ('/mnt/data/16062025/15/02/image_16062025_15_03_04_9045.jpg', 2), ('/mnt/data/16062025/15/02/image_16062025_15_02_34_10058.jpg', 2), ('/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/03/image_16062025_15_03_54_9992.jpg', '/mnt/data/16062025/15/03/image_16062025_15_03_44_9993.jpg', '/mnt/data/16062025/15/03/image_16062025_15_03_34_10119.jpg', '/mnt/data/16062025/15/02/image_16062025_15_03_04_9045.jpg', '/mnt/data/16062025/15/02/image_16062025_15_02_34_10058.jpg', '/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/03/image_16062025_15_03_54_9992.jpg', '/mnt/data/16062025/15/03/image_16062025_15_03_44_9993.jpg', '/mnt/data/16062025/15/03/image_16062025_15_03_34_10119.jpg', '/mnt/data/16062025/15/02/image_16062025_15_03_04_9045.jpg', '/mnt/data/16062025/15/02/image_16062025_15_02_34_10058.jpg', '/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/03/image_16062025_15_03_54_9992.jpg
/mnt/data/16062025/15/03/image_16062025_15_03_44_9993.jpg
/mnt/data/16062025/15/03/image_16062025_15_03_34_10119.jpg
/mnt/data/16062025/15/02/image_16062025_15_03_04_9045.jpg
/mnt/data/16062025/15/02/image_16062025_15_02_34_10058.jpg
/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376466342","1376466345","1376466359","1376466353","1376466356","1376466349"],"photo_ids_order":["1376466342","1376466345","1376466349","1376466353","1376466356","1376466359"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3e0b718ac783c6e51eb606653c40f9c2.jpg","text":"TemporaryFile(/tmp/multipartBody3422141907730241937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926939979,"filename":"image_16062025_15_03_54_9992.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5bdf4df8e583c39608317f354c5329f9.jpg","text":"TemporaryFile(/tmp/multipartBody5615936790224055323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926939979,"filename":"image_16062025_15_03_44_9993.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6b3739bfec8602fe10927bf9768bccbe.jpg","text":"TemporaryFile(/tmp/multipartBody3297350008276110197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926939979,"filename":"image_16062025_15_02_24_9999.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f013e93a1164439cf0bf7d8a848335a5.jpg","text":"TemporaryFile(/tmp/multipartBody7097661277608286830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926939979,"filename":"image_16062025_15_03_04_9045.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/60ba98619c00d08c4455560688617cb7.jpg","text":"TemporaryFile(/tmp/multipartBody4408809075727786581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926939979,"filename":"image_16062025_15_02_34_10058.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/35a425e6b2e4ba62d27f28a65936dcec.jpg","text":"TemporaryFile(/tmp/multipartBody5394994667314391390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754926939979,"filename":"image_16062025_15_03_34_10119.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376466349","file1":"1376466345","file0":"1376466342","file4":"1376466356","file5":"1376466359","file3":"1376466353"},"map_files_photo_id_array":[{"photo_id":"1376466359","filename":"file5"},{"photo_id":"1376466349","filename":"file2"},{"photo_id":"1376466356","filename":"file4"},{"photo_id":"1376466345","filename":"file1"},{"photo_id":"1376466342","filename":"file0"},{"photo_id":"1376466353","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376466342":["hashtag1","hashtag2"]},{"1376466345":["hashtag1","hashtag2"]},{"1376466359":["hashtag1","hashtag2"]},{"1376466353":["hashtag1","hashtag2"]},{"1376466356":["hashtag1","hashtag2"]},{"1376466349":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376466342, 1376466345, 1376466359, 1376466353, 1376466356, 1376466349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.59739685058594 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:42:02.730308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg
uploaded 0 photos
time to upload: 30.369742393493652 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:43:02.944704
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg
uploaded 0 photos
time to upload: 30.547831058502197 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:44:03.498618
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376466435","1376466420","1376466430","1376466424","1376466433","1376466427"],"photo_ids_order":["1376466420","1376466424","1376466427","1376466430","1376466433","1376466435"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8d194ebf185629c55ac75d05083edf57.jpg","text":"TemporaryFile(/tmp/multipartBody3504938479051928401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754927127091,"filename":"image_16062025_15_01_14_10256.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/26fb556b20537900385242f83d6672ab.jpg","text":"TemporaryFile(/tmp/multipartBody4936204195726174699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754927127091,"filename":"image_16062025_15_02_04_10163.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/12684708d2c683977b08bef9b6dc3c7b.jpg","text":"TemporaryFile(/tmp/multipartBody8245544952975413801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754927127091,"filename":"image_16062025_15_01_34_10059.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e8f39d24156958f34ce3a5303cfb8e05.jpg","text":"TemporaryFile(/tmp/multipartBody5132393660763724631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754927127091,"filename":"image_16062025_15_01_54_9971.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a6789be6926f92887edd3bd207045851.jpg","text":"TemporaryFile(/tmp/multipartBody2459291339529629179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754927127091,"filename":"image_16062025_15_01_24_10300.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8950aa7586a80742fec6b23d72b0ffa6.jpg","text":"TemporaryFile(/tmp/multipartBody8868611012654356550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754927127091,"filename":"image_16062025_15_01_44_10021.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376466427","file1":"1376466424","file0":"1376466420","file4":"1376466433","file5":"1376466435","file3":"1376466430"},"map_files_photo_id_array":[{"photo_id":"1376466435","filename":"file5"},{"photo_id":"1376466427","filename":"file2"},{"photo_id":"1376466433","filename":"file4"},{"photo_id":"1376466424","filename":"file1"},{"photo_id":"1376466420","filename":"file0"},{"photo_id":"1376466430","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376466435":["hashtag1","hashtag2"]},{"1376466420":["hashtag1","hashtag2"]},{"1376466430":["hashtag1","hashtag2"]},{"1376466424":["hashtag1","hashtag2"]},{"1376466433":["hashtag1","hashtag2"]},{"1376466427":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376466435, 1376466420, 1376466430, 1376466424, 1376466433, 1376466427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.80928325653076 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:46:02.817623
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
uploaded 0 photos
time to upload: 30.402132272720337 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:47:02.714428
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
uploaded 0 photos
time to upload: 30.345510721206665 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:48:02.463068
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
uploaded 0 photos
time to upload: 30.305638551712036 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:49:03.624843
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
uploaded 0 photos
time to upload: 30.311082363128662 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:50:03.291304
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
uploaded 0 photos
time to upload: 30.29625129699707 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:51:03.263240
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
uploaded 0 photos
time to upload: 30.30197548866272 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:52:03.012271
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 146.98128628730774 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:55:03.387508
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 137.75004410743713 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 17:59:03.040016
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
uploaded 0 photos
time to upload: 30.335241317749023 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:00:02.654443
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
uploaded 0 photos
time to upload: 30.32231330871582 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:01:02.530246
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
uploaded 0 photos
time to upload: 30.59414577484131 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:02:03.379717
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
uploaded 0 photos
time to upload: 30.302512168884277 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:03:03.474620
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
uploaded 0 photos
time to upload: 30.30289602279663 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:04:03.108868
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376469748","1376469739","1376469750","1376469758","1376469743","1376469746"],"photo_ids_order":["1376469739","1376469743","1376469746","1376469748","1376469750","1376469758"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7b51b688e4442f10c5390bfa9a17cf8a.jpg","text":"TemporaryFile(/tmp/multipartBody4918226265076219164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754928332954,"filename":"image_16062025_15_00_34_10290.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f7739882ae2a315775fb27320f209ace.jpg","text":"TemporaryFile(/tmp/multipartBody3890434684636908569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754928332954,"filename":"image_16062025_15_01_04_9116.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/02459c73ad8e1ee4ea20c1fccf60a379.jpg","text":"TemporaryFile(/tmp/multipartBody7812560928947399824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754928332954,"filename":"image_16062025_15_00_24_8984.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2302811e2ed6b035f27c81704b232700.jpg","text":"TemporaryFile(/tmp/multipartBody6954824865467585794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754928332954,"filename":"image_16062025_15_00_15_10255.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/03d69cdd7782e9e75591faff222d33e4.jpg","text":"TemporaryFile(/tmp/multipartBody9165906174365804530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754928332954,"filename":"image_16062025_15_00_55_10157.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c15f2f032a79ce0797f6305ae4c905cc.jpg","text":"TemporaryFile(/tmp/multipartBody4240893144052261083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754928332954,"filename":"image_16062025_15_00_44_10309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376469746","file1":"1376469743","file0":"1376469739","file4":"1376469750","file5":"1376469758","file3":"1376469748"},"map_files_photo_id_array":[{"photo_id":"1376469758","filename":"file5"},{"photo_id":"1376469746","filename":"file2"},{"photo_id":"1376469750","filename":"file4"},{"photo_id":"1376469743","filename":"file1"},{"photo_id":"1376469739","filename":"file0"},{"photo_id":"1376469748","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376469748":["hashtag1","hashtag2"]},{"1376469739":["hashtag1","hashtag2"]},{"1376469750":["hashtag1","hashtag2"]},{"1376469758":["hashtag1","hashtag2"]},{"1376469743":["hashtag1","hashtag2"]},{"1376469746":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376469748, 1376469739, 1376469750, 1376469758, 1376469743, 1376469746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.91254425048828 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:06:02.789688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg
uploaded 0 photos
time to upload: 30.366936683654785 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:07:02.819722
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg
uploaded 0 photos
time to upload: 30.32558560371399 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:08:02.364047
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg
uploaded 0 photos
time to upload: 30.304967880249023 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:09:03.491222
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376470528","1376470543","1376470510","1376470513","1376470507","1376470515"],"photo_ids_order":["1376470507","1376470510","1376470513","1376470515","1376470528","1376470543"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/763afe6a82cac5f951e2dfd9724aaf38.jpg","text":"TemporaryFile(/tmp/multipartBody6274217548454606915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754928628798,"filename":"image_16062025_14_59_24_10144.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c3c541dbe8563031634cc39922307371.jpg","text":"TemporaryFile(/tmp/multipartBody2465416562129263438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754928628798,"filename":"image_16062025_14_59_14_9935.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/92a9585ba928ef18b91660fbff6ec70f.jpg","text":"TemporaryFile(/tmp/multipartBody5547723622189718185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754928628798,"filename":"image_16062025_14_59_54_9039.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8f21e93c0fc80b34a0c9796a708ba262.jpg","text":"TemporaryFile(/tmp/multipartBody3198916628145533181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754928628798,"filename":"image_16062025_14_59_45_10214.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9cb3c30052c6ebd55b1a61fc4f1e81d9.jpg","text":"TemporaryFile(/tmp/multipartBody6240933785276575367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754928628798,"filename":"image_16062025_15_00_05_10898.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cfb3edad71dbd212c23ac7aaaa1191a6.jpg","text":"TemporaryFile(/tmp/multipartBody5367480956655024380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754928628798,"filename":"image_16062025_14_59_34_10170.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376470513","file1":"1376470510","file0":"1376470507","file4":"1376470528","file5":"1376470543","file3":"1376470515"},"map_files_photo_id_array":[{"photo_id":"1376470543","filename":"file5"},{"photo_id":"1376470513","filename":"file2"},{"photo_id":"1376470528","filename":"file4"},{"photo_id":"1376470510","filename":"file1"},{"photo_id":"1376470507","filename":"file0"},{"photo_id":"1376470515","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376470528":["hashtag1","hashtag2"]},{"1376470543":["hashtag1","hashtag2"]},{"1376470510":["hashtag1","hashtag2"]},{"1376470513":["hashtag1","hashtag2"]},{"1376470507":["hashtag1","hashtag2"]},{"1376470515":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376470528, 1376470543, 1376470510, 1376470513, 1376470507, 1376470515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.19154572486877 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:11:03.271170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', '/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', '/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg
/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg
uploaded 0 photos
time to upload: 30.37682795524597 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:12:03.040354
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', '/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', '/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg
/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 135.78061985969543 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:15:03.172892
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', '/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', '/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg
/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg
uploaded 0 photos
time to upload: 30.295907974243164 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:16:02.843583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', '/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', '/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg
/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376471698","1376471652","1376471676","1376471696","1376471700","1376471693"],"photo_ids_order":["1376471652","1376471676","1376471693","1376471696","1376471698","1376471700"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/438143035e3df445789fead625cf22d8.jpg","text":"TemporaryFile(/tmp/multipartBody764326978504911323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929039240,"filename":"image_16062025_14_58_14_10148.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d53837ae9e995868b160529734a68948.jpg","text":"TemporaryFile(/tmp/multipartBody4659719857169801865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929039240,"filename":"image_16062025_14_59_04_10416.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/671cb494dc68a33ca1524c0b2d254203.jpg","text":"TemporaryFile(/tmp/multipartBody7934828998490650285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929039240,"filename":"image_16062025_14_58_45_10214.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/96ebfea9137bfbc132a876dec0810c99.jpg","text":"TemporaryFile(/tmp/multipartBody7024523958917853212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929039240,"filename":"image_16062025_14_58_24_10150.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/471237f7d0aca26e974382852c875540.jpg","text":"TemporaryFile(/tmp/multipartBody5344596569813088348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929039240,"filename":"image_16062025_14_58_04_9344.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/227aa35f2725b51cfc21bebbb77c3894.jpg","text":"TemporaryFile(/tmp/multipartBody3559606300499850265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929039240,"filename":"image_16062025_14_58_34_10174.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376471693","file1":"1376471676","file0":"1376471652","file4":"1376471698","file5":"1376471700","file3":"1376471696"},"map_files_photo_id_array":[{"photo_id":"1376471700","filename":"file5"},{"photo_id":"1376471693","filename":"file2"},{"photo_id":"1376471698","filename":"file4"},{"photo_id":"1376471676","filename":"file1"},{"photo_id":"1376471652","filename":"file0"},{"photo_id":"1376471696","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376471698":["hashtag1","hashtag2"]},{"1376471652":["hashtag1","hashtag2"]},{"1376471676":["hashtag1","hashtag2"]},{"1376471696":["hashtag1","hashtag2"]},{"1376471700":["hashtag1","hashtag2"]},{"1376471693":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376471698, 1376471652, 1376471676, 1376471696, 1376471700, 1376471693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.05881071090698 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:17:02.687826
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/57/image_16062025_14_57_55_10169.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_57_44_10124.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_57_34_9962.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_57_24_9947.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_57_14_9975.jpg', 2), ('/mnt/data/16062025/14/56/image_16062025_14_57_04_9961.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/57/image_16062025_14_57_55_10169.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_44_10124.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_34_9962.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_24_9947.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_14_9975.jpg', '/mnt/data/16062025/14/56/image_16062025_14_57_04_9961.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/57/image_16062025_14_57_55_10169.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_44_10124.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_34_9962.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_24_9947.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_14_9975.jpg', '/mnt/data/16062025/14/56/image_16062025_14_57_04_9961.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/57/image_16062025_14_57_55_10169.jpg
/mnt/data/16062025/14/57/image_16062025_14_57_44_10124.jpg
/mnt/data/16062025/14/57/image_16062025_14_57_34_9962.jpg
/mnt/data/16062025/14/57/image_16062025_14_57_24_9947.jpg
/mnt/data/16062025/14/57/image_16062025_14_57_14_9975.jpg
/mnt/data/16062025/14/56/image_16062025_14_57_04_9961.jpg
uploaded 0 photos
time to upload: 31.37243127822876 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:18:02.412363
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/57/image_16062025_14_57_55_10169.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_57_44_10124.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_57_34_9962.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_57_24_9947.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_57_14_9975.jpg', 2), ('/mnt/data/16062025/14/56/image_16062025_14_57_04_9961.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/57/image_16062025_14_57_55_10169.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_44_10124.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_34_9962.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_24_9947.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_14_9975.jpg', '/mnt/data/16062025/14/56/image_16062025_14_57_04_9961.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/57/image_16062025_14_57_55_10169.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_44_10124.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_34_9962.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_24_9947.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_14_9975.jpg', '/mnt/data/16062025/14/56/image_16062025_14_57_04_9961.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/57/image_16062025_14_57_55_10169.jpg
/mnt/data/16062025/14/57/image_16062025_14_57_44_10124.jpg
/mnt/data/16062025/14/57/image_16062025_14_57_34_9962.jpg
/mnt/data/16062025/14/57/image_16062025_14_57_24_9947.jpg
/mnt/data/16062025/14/57/image_16062025_14_57_14_9975.jpg
/mnt/data/16062025/14/56/image_16062025_14_57_04_9961.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376471770","1376471758","1376471752","1376471746","1376471766","1376471762"],"photo_ids_order":["1376471746","1376471752","1376471758","1376471762","1376471766","1376471770"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/45dfc4fe1f3b6445ef7354896e1555da.jpg","text":"TemporaryFile(/tmp/multipartBody3142113050161806762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929158680,"filename":"image_16062025_14_57_04_9961.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7a4faf1d5dd787556a290ed3200f5b1d.jpg","text":"TemporaryFile(/tmp/multipartBody1475222093928029893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929158680,"filename":"image_16062025_14_57_34_9962.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dd2db1b3db86c68266e625fd34aad39a.jpg","text":"TemporaryFile(/tmp/multipartBody3723953440632504490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929158680,"filename":"image_16062025_14_57_44_10124.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0e95a4bedfabbb98a2e700813969d934.jpg","text":"TemporaryFile(/tmp/multipartBody687599019838500971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929158680,"filename":"image_16062025_14_57_55_10169.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1d31b7821e89226efdfaa5a84c6a74c1.jpg","text":"TemporaryFile(/tmp/multipartBody6763541098042390980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929158680,"filename":"image_16062025_14_57_14_9975.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/31f725e6df0bfb715290916887274e51.jpg","text":"TemporaryFile(/tmp/multipartBody8021656255794905044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929158680,"filename":"image_16062025_14_57_24_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376471758","file1":"1376471752","file0":"1376471746","file4":"1376471766","file5":"1376471770","file3":"1376471762"},"map_files_photo_id_array":[{"photo_id":"1376471770","filename":"file5"},{"photo_id":"1376471758","filename":"file2"},{"photo_id":"1376471766","filename":"file4"},{"photo_id":"1376471752","filename":"file1"},{"photo_id":"1376471746","filename":"file0"},{"photo_id":"1376471762","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376471770":["hashtag1","hashtag2"]},{"1376471758":["hashtag1","hashtag2"]},{"1376471752":["hashtag1","hashtag2"]},{"1376471746":["hashtag1","hashtag2"]},{"1376471766":["hashtag1","hashtag2"]},{"1376471762":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376471770, 1376471758, 1376471752, 1376471746, 1376471766, 1376471762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.278358697891235 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:19:03.689516
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/56/image_16062025_14_56_54_9923.jpg', 2), ('/mnt/data/16062025/14/56/image_16062025_14_56_45_9920.jpg', 2), ('/mnt/data/16062025/14/56/image_16062025_14_56_35_9981.jpg', 2), ('/mnt/data/16062025/14/56/image_16062025_14_56_15_9934.jpg', 2), ('/mnt/data/16062025/14/55/image_16062025_14_56_05_10241.jpg', 2), ('/mnt/data/16062025/14/55/image_16062025_14_55_54_10066.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/56/image_16062025_14_56_54_9923.jpg', '/mnt/data/16062025/14/56/image_16062025_14_56_45_9920.jpg', '/mnt/data/16062025/14/56/image_16062025_14_56_35_9981.jpg', '/mnt/data/16062025/14/56/image_16062025_14_56_15_9934.jpg', '/mnt/data/16062025/14/55/image_16062025_14_56_05_10241.jpg', '/mnt/data/16062025/14/55/image_16062025_14_55_54_10066.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/56/image_16062025_14_56_54_9923.jpg', '/mnt/data/16062025/14/56/image_16062025_14_56_45_9920.jpg', '/mnt/data/16062025/14/56/image_16062025_14_56_35_9981.jpg', '/mnt/data/16062025/14/56/image_16062025_14_56_15_9934.jpg', '/mnt/data/16062025/14/55/image_16062025_14_56_05_10241.jpg', '/mnt/data/16062025/14/55/image_16062025_14_55_54_10066.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/56/image_16062025_14_56_54_9923.jpg
/mnt/data/16062025/14/56/image_16062025_14_56_45_9920.jpg
/mnt/data/16062025/14/56/image_16062025_14_56_35_9981.jpg
/mnt/data/16062025/14/56/image_16062025_14_56_15_9934.jpg
/mnt/data/16062025/14/55/image_16062025_14_56_05_10241.jpg
/mnt/data/16062025/14/55/image_16062025_14_55_54_10066.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376471915","1376471931","1376471868","1376471897","1376471873","1376471927"],"photo_ids_order":["1376471868","1376471873","1376471897","1376471915","1376471927","1376471931"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/145ee50c6e5e1dcd9dc183e0e4e10110.jpg","text":"TemporaryFile(/tmp/multipartBody8946318114347529524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929213274,"filename":"image_16062025_14_56_15_9934.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/91d25e32d77516587786b69bb2c758b6.jpg","text":"TemporaryFile(/tmp/multipartBody3488702661106992198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929213274,"filename":"image_16062025_14_55_54_10066.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b0e2d6bfa74c97c296226033b7a865bf.jpg","text":"TemporaryFile(/tmp/multipartBody11095123303391428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929213274,"filename":"image_16062025_14_56_54_9923.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f05d9f3f412d8c3232f51c8ac68751ba.jpg","text":"TemporaryFile(/tmp/multipartBody8119061281613379689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929213274,"filename":"image_16062025_14_56_35_9981.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5599984e8bff7f94276c53eaa9bd067e.jpg","text":"TemporaryFile(/tmp/multipartBody2772837097959296141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929213274,"filename":"image_16062025_14_56_45_9920.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/63e7e9fb68b223ef8970d7c2d33e2cf7.jpg","text":"TemporaryFile(/tmp/multipartBody947216269245878134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929213274,"filename":"image_16062025_14_56_05_10241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376471897","file1":"1376471873","file0":"1376471868","file4":"1376471927","file5":"1376471931","file3":"1376471915"},"map_files_photo_id_array":[{"photo_id":"1376471931","filename":"file5"},{"photo_id":"1376471897","filename":"file2"},{"photo_id":"1376471927","filename":"file4"},{"photo_id":"1376471873","filename":"file1"},{"photo_id":"1376471868","filename":"file0"},{"photo_id":"1376471915","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376471915":["hashtag1","hashtag2"]},{"1376471931":["hashtag1","hashtag2"]},{"1376471868":["hashtag1","hashtag2"]},{"1376471897":["hashtag1","hashtag2"]},{"1376471873":["hashtag1","hashtag2"]},{"1376471927":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376471915, 1376471931, 1376471868, 1376471897, 1376471873, 1376471927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.731677293777466 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:20:03.336614
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/55/image_16062025_14_55_24_9994.jpg', 2), ('/mnt/data/16062025/14/55/image_16062025_14_55_14_9949.jpg', 2), ('/mnt/data/16062025/14/54/image_16062025_14_55_04_10086.jpg', 2), ('/mnt/data/16062025/14/54/image_16062025_14_54_54_9941.jpg', 2), ('/mnt/data/16062025/14/54/image_16062025_14_54_44_10052.jpg', 2), ('/mnt/data/16062025/14/54/image_16062025_14_54_34_10115.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/55/image_16062025_14_55_24_9994.jpg', '/mnt/data/16062025/14/55/image_16062025_14_55_14_9949.jpg', '/mnt/data/16062025/14/54/image_16062025_14_55_04_10086.jpg', '/mnt/data/16062025/14/54/image_16062025_14_54_54_9941.jpg', '/mnt/data/16062025/14/54/image_16062025_14_54_44_10052.jpg', '/mnt/data/16062025/14/54/image_16062025_14_54_34_10115.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/55/image_16062025_14_55_24_9994.jpg', '/mnt/data/16062025/14/55/image_16062025_14_55_14_9949.jpg', '/mnt/data/16062025/14/54/image_16062025_14_55_04_10086.jpg', '/mnt/data/16062025/14/54/image_16062025_14_54_54_9941.jpg', '/mnt/data/16062025/14/54/image_16062025_14_54_44_10052.jpg', '/mnt/data/16062025/14/54/image_16062025_14_54_34_10115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/55/image_16062025_14_55_24_9994.jpg
/mnt/data/16062025/14/55/image_16062025_14_55_14_9949.jpg
/mnt/data/16062025/14/54/image_16062025_14_55_04_10086.jpg
/mnt/data/16062025/14/54/image_16062025_14_54_54_9941.jpg
/mnt/data/16062025/14/54/image_16062025_14_54_44_10052.jpg
/mnt/data/16062025/14/54/image_16062025_14_54_34_10115.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376471986","1376471995","1376471982","1376471990","1376471975","1376471978"],"photo_ids_order":["1376471975","1376471978","1376471982","1376471986","1376471990","1376471995"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b94245514a0b3bfd157ec9a9cf4cdf84.jpg","text":"TemporaryFile(/tmp/multipartBody8239825565893620867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929280471,"filename":"image_16062025_14_54_54_9941.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2a8f810d894cda16b8b4103e621c66f0.jpg","text":"TemporaryFile(/tmp/multipartBody5771173192647615293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929280471,"filename":"image_16062025_14_54_34_10115.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/50ba761220eac8b53e18a3d63579c119.jpg","text":"TemporaryFile(/tmp/multipartBody6791606841904652539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929280471,"filename":"image_16062025_14_55_04_10086.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/65780f55c8bd6c7469484e4c1ab8985b.jpg","text":"TemporaryFile(/tmp/multipartBody3856099532404913408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929280471,"filename":"image_16062025_14_54_44_10052.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9a169f84c64a73ae42fd157ef4a02dde.jpg","text":"TemporaryFile(/tmp/multipartBody3085570197805441441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929280471,"filename":"image_16062025_14_55_24_9994.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4e430609f14034c0ad683ec7364b0adf.jpg","text":"TemporaryFile(/tmp/multipartBody3672424155416835547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929280471,"filename":"image_16062025_14_55_14_9949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376471982","file1":"1376471978","file0":"1376471975","file4":"1376471990","file5":"1376471995","file3":"1376471986"},"map_files_photo_id_array":[{"photo_id":"1376471995","filename":"file5"},{"photo_id":"1376471982","filename":"file2"},{"photo_id":"1376471990","filename":"file4"},{"photo_id":"1376471978","filename":"file1"},{"photo_id":"1376471975","filename":"file0"},{"photo_id":"1376471986","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376471986":["hashtag1","hashtag2"]},{"1376471995":["hashtag1","hashtag2"]},{"1376471982":["hashtag1","hashtag2"]},{"1376471990":["hashtag1","hashtag2"]},{"1376471975":["hashtag1","hashtag2"]},{"1376471978":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376471986, 1376471995, 1376471982, 1376471990, 1376471975, 1376471978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.35488843917847 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:21:03.377125
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/54/image_16062025_14_54_24_10076.jpg', 2), ('/mnt/data/16062025/14/54/image_16062025_14_54_14_10068.jpg', 2), ('/mnt/data/16062025/14/53/image_16062025_14_54_04_9120.jpg', 2), ('/mnt/data/16062025/14/53/image_16062025_14_53_55_10024.jpg', 2), ('/mnt/data/16062025/14/53/image_16062025_14_53_45_10038.jpg', 2), ('/mnt/data/16062025/14/53/image_16062025_14_53_35_10021.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/54/image_16062025_14_54_24_10076.jpg', '/mnt/data/16062025/14/54/image_16062025_14_54_14_10068.jpg', '/mnt/data/16062025/14/53/image_16062025_14_54_04_9120.jpg', '/mnt/data/16062025/14/53/image_16062025_14_53_55_10024.jpg', '/mnt/data/16062025/14/53/image_16062025_14_53_45_10038.jpg', '/mnt/data/16062025/14/53/image_16062025_14_53_35_10021.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/54/image_16062025_14_54_24_10076.jpg', '/mnt/data/16062025/14/54/image_16062025_14_54_14_10068.jpg', '/mnt/data/16062025/14/53/image_16062025_14_54_04_9120.jpg', '/mnt/data/16062025/14/53/image_16062025_14_53_55_10024.jpg', '/mnt/data/16062025/14/53/image_16062025_14_53_45_10038.jpg', '/mnt/data/16062025/14/53/image_16062025_14_53_35_10021.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/54/image_16062025_14_54_24_10076.jpg
/mnt/data/16062025/14/54/image_16062025_14_54_14_10068.jpg
/mnt/data/16062025/14/53/image_16062025_14_54_04_9120.jpg
/mnt/data/16062025/14/53/image_16062025_14_53_55_10024.jpg
/mnt/data/16062025/14/53/image_16062025_14_53_45_10038.jpg
/mnt/data/16062025/14/53/image_16062025_14_53_35_10021.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376472013","1376472003","1376472006","1376472020","1376472008","1376472017"],"photo_ids_order":["1376472003","1376472006","1376472008","1376472013","1376472017","1376472020"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9a44e1d01537bb9a3722a4a15b7259f3.jpg","text":"TemporaryFile(/tmp/multipartBody5122754586777872401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929328614,"filename":"image_16062025_14_53_55_10024.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dcd72acb815a277d19a144972417306c.jpg","text":"TemporaryFile(/tmp/multipartBody190485263615432803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929328614,"filename":"image_16062025_14_54_24_10076.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/013da490cea19e22539875200bf311cf.jpg","text":"TemporaryFile(/tmp/multipartBody663809752032983862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929328614,"filename":"image_16062025_14_54_14_10068.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2e9c2e89d3084211d78937de2a3e2d7c.jpg","text":"TemporaryFile(/tmp/multipartBody2195895911610391635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929328614,"filename":"image_16062025_14_53_35_10021.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/97bed7d26047f086bbca3921a5144e7c.jpg","text":"TemporaryFile(/tmp/multipartBody3412876677114386613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929328614,"filename":"image_16062025_14_54_04_9120.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fa217a79de6ae40bf38b3360e5451d5d.jpg","text":"TemporaryFile(/tmp/multipartBody130718010807485759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929328614,"filename":"image_16062025_14_53_45_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376472008","file1":"1376472006","file0":"1376472003","file4":"1376472017","file5":"1376472020","file3":"1376472013"},"map_files_photo_id_array":[{"photo_id":"1376472020","filename":"file5"},{"photo_id":"1376472008","filename":"file2"},{"photo_id":"1376472017","filename":"file4"},{"photo_id":"1376472006","filename":"file1"},{"photo_id":"1376472003","filename":"file0"},{"photo_id":"1376472013","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376472013":["hashtag1","hashtag2"]},{"1376472003":["hashtag1","hashtag2"]},{"1376472006":["hashtag1","hashtag2"]},{"1376472020":["hashtag1","hashtag2"]},{"1376472008":["hashtag1","hashtag2"]},{"1376472017":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376472013, 1376472003, 1376472006, 1376472020, 1376472008, 1376472017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.63446927070618 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:22:02.664700
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/53/image_16062025_14_53_25_9976.jpg', 2), ('/mnt/data/16062025/14/53/image_16062025_14_53_15_9943.jpg', 2), ('/mnt/data/16062025/14/52/image_16062025_14_53_05_10137.jpg', 2), ('/mnt/data/16062025/14/52/image_16062025_14_52_55_9963.jpg', 2), ('/mnt/data/16062025/14/52/image_16062025_14_52_45_9972.jpg', 2), ('/mnt/data/16062025/14/52/image_16062025_14_52_35_9995.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/53/image_16062025_14_53_25_9976.jpg', '/mnt/data/16062025/14/53/image_16062025_14_53_15_9943.jpg', '/mnt/data/16062025/14/52/image_16062025_14_53_05_10137.jpg', '/mnt/data/16062025/14/52/image_16062025_14_52_55_9963.jpg', '/mnt/data/16062025/14/52/image_16062025_14_52_45_9972.jpg', '/mnt/data/16062025/14/52/image_16062025_14_52_35_9995.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/53/image_16062025_14_53_25_9976.jpg', '/mnt/data/16062025/14/53/image_16062025_14_53_15_9943.jpg', '/mnt/data/16062025/14/52/image_16062025_14_53_05_10137.jpg', '/mnt/data/16062025/14/52/image_16062025_14_52_55_9963.jpg', '/mnt/data/16062025/14/52/image_16062025_14_52_45_9972.jpg', '/mnt/data/16062025/14/52/image_16062025_14_52_35_9995.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/53/image_16062025_14_53_25_9976.jpg
/mnt/data/16062025/14/53/image_16062025_14_53_15_9943.jpg
/mnt/data/16062025/14/52/image_16062025_14_53_05_10137.jpg
/mnt/data/16062025/14/52/image_16062025_14_52_55_9963.jpg
/mnt/data/16062025/14/52/image_16062025_14_52_45_9972.jpg
/mnt/data/16062025/14/52/image_16062025_14_52_35_9995.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376472046","1376472075","1376472108","1376472143","1376472038","1376472035"],"photo_ids_order":["1376472035","1376472038","1376472046","1376472075","1376472108","1376472143"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c1cb90b5abaa1e4a22c884cc97234c46.jpg","text":"TemporaryFile(/tmp/multipartBody903601647886351193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929388456,"filename":"image_16062025_14_53_05_10137.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a7a3e9f010db3884277f11bd7b64c16c.jpg","text":"TemporaryFile(/tmp/multipartBody2200501320491278762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929388456,"filename":"image_16062025_14_52_55_9963.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6a00169c4aeab525ed281d246d07abe3.jpg","text":"TemporaryFile(/tmp/multipartBody4951565244168206554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929388456,"filename":"image_16062025_14_52_45_9972.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dfec29558228672e7c7f4cb162d73b07.jpg","text":"TemporaryFile(/tmp/multipartBody7394074417402202800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929388456,"filename":"image_16062025_14_52_35_9995.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e7e196352809c010eda031c2f047bbee.jpg","text":"TemporaryFile(/tmp/multipartBody5222722722925234881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929388456,"filename":"image_16062025_14_53_15_9943.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2245ae849c78d57bb2cb79b87d108f7d.jpg","text":"TemporaryFile(/tmp/multipartBody3729870484707499751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929388456,"filename":"image_16062025_14_53_25_9976.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376472046","file1":"1376472038","file0":"1376472035","file4":"1376472108","file5":"1376472143","file3":"1376472075"},"map_files_photo_id_array":[{"photo_id":"1376472143","filename":"file5"},{"photo_id":"1376472046","filename":"file2"},{"photo_id":"1376472108","filename":"file4"},{"photo_id":"1376472038","filename":"file1"},{"photo_id":"1376472035","filename":"file0"},{"photo_id":"1376472075","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376472046":["hashtag1","hashtag2"]},{"1376472075":["hashtag1","hashtag2"]},{"1376472108":["hashtag1","hashtag2"]},{"1376472143":["hashtag1","hashtag2"]},{"1376472038":["hashtag1","hashtag2"]},{"1376472035":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376472046, 1376472075, 1376472108, 1376472143, 1376472038, 1376472035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.66935181617737 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:23:03.036200
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/52/image_16062025_14_52_25_9970.jpg', 2), ('/mnt/data/16062025/14/52/image_16062025_14_52_15_9991.jpg', 2), ('/mnt/data/16062025/14/51/image_16062025_14_52_05_10116.jpg', 2), ('/mnt/data/16062025/14/51/image_16062025_14_51_55_9919.jpg', 2), ('/mnt/data/16062025/14/51/image_16062025_14_51_45_9914.jpg', 2), ('/mnt/data/16062025/14/51/image_16062025_14_51_35_9966.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/52/image_16062025_14_52_25_9970.jpg', '/mnt/data/16062025/14/52/image_16062025_14_52_15_9991.jpg', '/mnt/data/16062025/14/51/image_16062025_14_52_05_10116.jpg', '/mnt/data/16062025/14/51/image_16062025_14_51_55_9919.jpg', '/mnt/data/16062025/14/51/image_16062025_14_51_45_9914.jpg', '/mnt/data/16062025/14/51/image_16062025_14_51_35_9966.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/52/image_16062025_14_52_25_9970.jpg', '/mnt/data/16062025/14/52/image_16062025_14_52_15_9991.jpg', '/mnt/data/16062025/14/51/image_16062025_14_52_05_10116.jpg', '/mnt/data/16062025/14/51/image_16062025_14_51_55_9919.jpg', '/mnt/data/16062025/14/51/image_16062025_14_51_45_9914.jpg', '/mnt/data/16062025/14/51/image_16062025_14_51_35_9966.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/52/image_16062025_14_52_25_9970.jpg
/mnt/data/16062025/14/52/image_16062025_14_52_15_9991.jpg
/mnt/data/16062025/14/51/image_16062025_14_52_05_10116.jpg
/mnt/data/16062025/14/51/image_16062025_14_51_55_9919.jpg
/mnt/data/16062025/14/51/image_16062025_14_51_45_9914.jpg
/mnt/data/16062025/14/51/image_16062025_14_51_35_9966.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376472271","1376472297","1376472333","1376472300","1376472341","1376472344"],"photo_ids_order":["1376472271","1376472297","1376472300","1376472333","1376472341","1376472344"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dad973a0b371f1ff305682d6297aa25b.jpg","text":"TemporaryFile(/tmp/multipartBody5380194773669344072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929453544,"filename":"image_16062025_14_52_25_9970.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/db9cb6f5aa29ad2f859af98a8d02fd49.jpg","text":"TemporaryFile(/tmp/multipartBody7873211751772797981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929453544,"filename":"image_16062025_14_52_15_9991.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/47a9aaf70078e777f4a2fd699c2aea8d.jpg","text":"TemporaryFile(/tmp/multipartBody8257433255015672236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929453544,"filename":"image_16062025_14_51_55_9919.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4dcf2ac0050eba75b53611344dcc43d3.jpg","text":"TemporaryFile(/tmp/multipartBody5130993044238367765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929453544,"filename":"image_16062025_14_52_05_10116.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/507963e2591a88fb72cfd55da6dd615b.jpg","text":"TemporaryFile(/tmp/multipartBody1447807800280364403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929453544,"filename":"image_16062025_14_51_45_9914.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b3de15dbead7a39b56f2bf7d8e392e8d.jpg","text":"TemporaryFile(/tmp/multipartBody6253163230823987572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929453544,"filename":"image_16062025_14_51_35_9966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376472300","file1":"1376472297","file0":"1376472271","file4":"1376472341","file5":"1376472344","file3":"1376472333"},"map_files_photo_id_array":[{"photo_id":"1376472344","filename":"file5"},{"photo_id":"1376472300","filename":"file2"},{"photo_id":"1376472341","filename":"file4"},{"photo_id":"1376472297","filename":"file1"},{"photo_id":"1376472271","filename":"file0"},{"photo_id":"1376472333","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376472271":["hashtag1","hashtag2"]},{"1376472297":["hashtag1","hashtag2"]},{"1376472333":["hashtag1","hashtag2"]},{"1376472300":["hashtag1","hashtag2"]},{"1376472341":["hashtag1","hashtag2"]},{"1376472344":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376472271, 1376472297, 1376472333, 1376472300, 1376472341, 1376472344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.81129717826843 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:24:02.815597
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/51/image_16062025_14_51_25_9960.jpg', 2), ('/mnt/data/16062025/14/51/image_16062025_14_51_15_10003.jpg', 2), ('/mnt/data/16062025/14/50/image_16062025_14_51_05_10050.jpg', 2), ('/mnt/data/16062025/14/50/image_16062025_14_50_55_9943.jpg', 2), ('/mnt/data/16062025/14/50/image_16062025_14_50_45_9997.jpg', 2), ('/mnt/data/16062025/14/50/image_16062025_14_50_35_10235.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/51/image_16062025_14_51_25_9960.jpg', '/mnt/data/16062025/14/51/image_16062025_14_51_15_10003.jpg', '/mnt/data/16062025/14/50/image_16062025_14_51_05_10050.jpg', '/mnt/data/16062025/14/50/image_16062025_14_50_55_9943.jpg', '/mnt/data/16062025/14/50/image_16062025_14_50_45_9997.jpg', '/mnt/data/16062025/14/50/image_16062025_14_50_35_10235.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/51/image_16062025_14_51_25_9960.jpg', '/mnt/data/16062025/14/51/image_16062025_14_51_15_10003.jpg', '/mnt/data/16062025/14/50/image_16062025_14_51_05_10050.jpg', '/mnt/data/16062025/14/50/image_16062025_14_50_55_9943.jpg', '/mnt/data/16062025/14/50/image_16062025_14_50_45_9997.jpg', '/mnt/data/16062025/14/50/image_16062025_14_50_35_10235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/51/image_16062025_14_51_25_9960.jpg
/mnt/data/16062025/14/51/image_16062025_14_51_15_10003.jpg
/mnt/data/16062025/14/50/image_16062025_14_51_05_10050.jpg
/mnt/data/16062025/14/50/image_16062025_14_50_55_9943.jpg
/mnt/data/16062025/14/50/image_16062025_14_50_45_9997.jpg
/mnt/data/16062025/14/50/image_16062025_14_50_35_10235.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376472379","1376472364","1376472372","1376472381","1376472375","1376472369"],"photo_ids_order":["1376472364","1376472369","1376472372","1376472375","1376472379","1376472381"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4f63216d0c7e810931414480d7c7f889.jpg","text":"TemporaryFile(/tmp/multipartBody7631205020450338922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929514999,"filename":"image_16062025_14_50_45_9997.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b957905d48c62c2503f4e2cbb0572738.jpg","text":"TemporaryFile(/tmp/multipartBody7376871498317722288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929514999,"filename":"image_16062025_14_51_25_9960.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3c935beb8dc9019283e72db3795f8e5d.jpg","text":"TemporaryFile(/tmp/multipartBody3663493923691990893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929514999,"filename":"image_16062025_14_51_05_10050.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1ce4e2e3f7cbe91b3deb56f36ac2d8f1.jpg","text":"TemporaryFile(/tmp/multipartBody6704649347519701647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929514999,"filename":"image_16062025_14_50_35_10235.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/179161d34c48571ae044a76b7c399a71.jpg","text":"TemporaryFile(/tmp/multipartBody6117146662276477011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929514999,"filename":"image_16062025_14_50_55_9943.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/73cc637f623656819381a711bf5ed63b.jpg","text":"TemporaryFile(/tmp/multipartBody7506594576776525880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929514999,"filename":"image_16062025_14_51_15_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376472372","file1":"1376472369","file0":"1376472364","file4":"1376472379","file5":"1376472381","file3":"1376472375"},"map_files_photo_id_array":[{"photo_id":"1376472381","filename":"file5"},{"photo_id":"1376472372","filename":"file2"},{"photo_id":"1376472379","filename":"file4"},{"photo_id":"1376472369","filename":"file1"},{"photo_id":"1376472364","filename":"file0"},{"photo_id":"1376472375","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376472379":["hashtag1","hashtag2"]},{"1376472364":["hashtag1","hashtag2"]},{"1376472372":["hashtag1","hashtag2"]},{"1376472381":["hashtag1","hashtag2"]},{"1376472375":["hashtag1","hashtag2"]},{"1376472369":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376472379, 1376472364, 1376472372, 1376472381, 1376472375, 1376472369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.388976097106934 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:25:02.737746
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/50/image_16062025_14_50_26_9999.jpg', 2), ('/mnt/data/16062025/14/50/image_16062025_14_50_15_10056.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_50_04_10422.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_49_54_10097.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_49_44_10056.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_49_34_10139.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/50/image_16062025_14_50_26_9999.jpg', '/mnt/data/16062025/14/50/image_16062025_14_50_15_10056.jpg', '/mnt/data/16062025/14/49/image_16062025_14_50_04_10422.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_54_10097.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_44_10056.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_34_10139.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/50/image_16062025_14_50_26_9999.jpg', '/mnt/data/16062025/14/50/image_16062025_14_50_15_10056.jpg', '/mnt/data/16062025/14/49/image_16062025_14_50_04_10422.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_54_10097.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_44_10056.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_34_10139.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/50/image_16062025_14_50_26_9999.jpg
/mnt/data/16062025/14/50/image_16062025_14_50_15_10056.jpg
/mnt/data/16062025/14/49/image_16062025_14_50_04_10422.jpg
/mnt/data/16062025/14/49/image_16062025_14_49_54_10097.jpg
/mnt/data/16062025/14/49/image_16062025_14_49_44_10056.jpg
/mnt/data/16062025/14/49/image_16062025_14_49_34_10139.jpg
uploaded 0 photos
time to upload: 30.364101886749268 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:26:02.826265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/50/image_16062025_14_50_26_9999.jpg', 2), ('/mnt/data/16062025/14/50/image_16062025_14_50_15_10056.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_50_04_10422.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_49_54_10097.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_49_44_10056.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_49_34_10139.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/50/image_16062025_14_50_26_9999.jpg', '/mnt/data/16062025/14/50/image_16062025_14_50_15_10056.jpg', '/mnt/data/16062025/14/49/image_16062025_14_50_04_10422.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_54_10097.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_44_10056.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_34_10139.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/50/image_16062025_14_50_26_9999.jpg', '/mnt/data/16062025/14/50/image_16062025_14_50_15_10056.jpg', '/mnt/data/16062025/14/49/image_16062025_14_50_04_10422.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_54_10097.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_44_10056.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_34_10139.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/50/image_16062025_14_50_26_9999.jpg
/mnt/data/16062025/14/50/image_16062025_14_50_15_10056.jpg
/mnt/data/16062025/14/49/image_16062025_14_50_04_10422.jpg
/mnt/data/16062025/14/49/image_16062025_14_49_54_10097.jpg
/mnt/data/16062025/14/49/image_16062025_14_49_44_10056.jpg
/mnt/data/16062025/14/49/image_16062025_14_49_34_10139.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376472700","1376472735","1376472686","1376472737","1376472671","1376472685"],"photo_ids_order":["1376472671","1376472685","1376472686","1376472700","1376472735","1376472737"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/613c4f956a87b0952ca831108d6cbc02.jpg","text":"TemporaryFile(/tmp/multipartBody1808816133720744100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929649480,"filename":"image_16062025_14_49_54_10097.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c7e3406e629756e354d4e56103a363ef.jpg","text":"TemporaryFile(/tmp/multipartBody9144136368266856497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929649480,"filename":"image_16062025_14_49_44_10056.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b9138aede0fccfd6a3115e36d204792f.jpg","text":"TemporaryFile(/tmp/multipartBody7649725633664629030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929649480,"filename":"image_16062025_14_50_04_10422.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2894a8429ab2d8e051b24c03beaeaf37.jpg","text":"TemporaryFile(/tmp/multipartBody6624421680943719026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929649480,"filename":"image_16062025_14_49_34_10139.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ee4e23309e8df79cb7fde579f78467bf.jpg","text":"TemporaryFile(/tmp/multipartBody2186794899296362727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929649480,"filename":"image_16062025_14_50_26_9999.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a91d7cb45d15eeaec9316124a08b719e.jpg","text":"TemporaryFile(/tmp/multipartBody8472212218771124020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929649480,"filename":"image_16062025_14_50_15_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376472686","file1":"1376472685","file0":"1376472671","file4":"1376472735","file5":"1376472737","file3":"1376472700"},"map_files_photo_id_array":[{"photo_id":"1376472737","filename":"file5"},{"photo_id":"1376472686","filename":"file2"},{"photo_id":"1376472735","filename":"file4"},{"photo_id":"1376472685","filename":"file1"},{"photo_id":"1376472671","filename":"file0"},{"photo_id":"1376472700","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376472700":["hashtag1","hashtag2"]},{"1376472735":["hashtag1","hashtag2"]},{"1376472686":["hashtag1","hashtag2"]},{"1376472737":["hashtag1","hashtag2"]},{"1376472671":["hashtag1","hashtag2"]},{"1376472685":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376472700, 1376472735, 1376472686, 1376472737, 1376472671, 1376472685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.44377899169922 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:28:02.858096
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/49/image_16062025_14_49_24_8953.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_49_15_10092.jpg', 2), ('/mnt/data/16062025/14/48/image_16062025_14_49_05_10262.jpg', 2), ('/mnt/data/16062025/14/48/image_16062025_14_48_54_10161.jpg', 2), ('/mnt/data/16062025/14/48/image_16062025_14_48_44_10174.jpg', 2), ('/mnt/data/16062025/14/48/image_16062025_14_48_34_10120.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/49/image_16062025_14_49_24_8953.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_15_10092.jpg', '/mnt/data/16062025/14/48/image_16062025_14_49_05_10262.jpg', '/mnt/data/16062025/14/48/image_16062025_14_48_54_10161.jpg', '/mnt/data/16062025/14/48/image_16062025_14_48_44_10174.jpg', '/mnt/data/16062025/14/48/image_16062025_14_48_34_10120.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/49/image_16062025_14_49_24_8953.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_15_10092.jpg', '/mnt/data/16062025/14/48/image_16062025_14_49_05_10262.jpg', '/mnt/data/16062025/14/48/image_16062025_14_48_54_10161.jpg', '/mnt/data/16062025/14/48/image_16062025_14_48_44_10174.jpg', '/mnt/data/16062025/14/48/image_16062025_14_48_34_10120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/49/image_16062025_14_49_24_8953.jpg
/mnt/data/16062025/14/49/image_16062025_14_49_15_10092.jpg
/mnt/data/16062025/14/48/image_16062025_14_49_05_10262.jpg
/mnt/data/16062025/14/48/image_16062025_14_48_54_10161.jpg
/mnt/data/16062025/14/48/image_16062025_14_48_44_10174.jpg
/mnt/data/16062025/14/48/image_16062025_14_48_34_10120.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376472795","1376472789","1376472791","1376472785","1376472782","1376472800"],"photo_ids_order":["1376472782","1376472785","1376472789","1376472791","1376472795","1376472800"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/af9f3dc5622dcdf68b6a1f4f5e00efc6.jpg","text":"TemporaryFile(/tmp/multipartBody9171701661636460100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929760882,"filename":"image_16062025_14_48_44_10174.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1b66ef76272501a17efc9a974119e494.jpg","text":"TemporaryFile(/tmp/multipartBody6157345243632637946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929760882,"filename":"image_16062025_14_49_05_10262.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8864ac9eec0275e3d72deeca5937fdd5.jpg","text":"TemporaryFile(/tmp/multipartBody1245679986685671967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929760882,"filename":"image_16062025_14_48_54_10161.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e6780f2921b3fbddc900cd3439f4fcf0.jpg","text":"TemporaryFile(/tmp/multipartBody6370877293639536228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929760882,"filename":"image_16062025_14_49_15_10092.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ccc1937358170f3c2395ace6cd55309e.jpg","text":"TemporaryFile(/tmp/multipartBody7026931437204969514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929760882,"filename":"image_16062025_14_49_24_8953.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/39daf0bbbe2976135edbe0026d5005f5.jpg","text":"TemporaryFile(/tmp/multipartBody4515516891575082693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929760882,"filename":"image_16062025_14_48_34_10120.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376472789","file1":"1376472785","file0":"1376472782","file4":"1376472795","file5":"1376472800","file3":"1376472791"},"map_files_photo_id_array":[{"photo_id":"1376472800","filename":"file5"},{"photo_id":"1376472789","filename":"file2"},{"photo_id":"1376472795","filename":"file4"},{"photo_id":"1376472785","filename":"file1"},{"photo_id":"1376472782","filename":"file0"},{"photo_id":"1376472791","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376472795":["hashtag1","hashtag2"]},{"1376472789":["hashtag1","hashtag2"]},{"1376472791":["hashtag1","hashtag2"]},{"1376472785":["hashtag1","hashtag2"]},{"1376472782":["hashtag1","hashtag2"]},{"1376472800":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376472795, 1376472789, 1376472791, 1376472785, 1376472782, 1376472800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.55863976478577 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:29:03.137796
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/48/image_16062025_14_48_24_10115.jpg', 2), ('/mnt/data/16062025/14/48/image_16062025_14_48_14_10119.jpg', 2), ('/mnt/data/16062025/14/47/image_16062025_14_48_04_8996.jpg', 2), ('/mnt/data/16062025/14/47/image_16062025_14_47_55_10150.jpg', 2), ('/mnt/data/16062025/14/47/image_16062025_14_47_45_10081.jpg', 2), ('/mnt/data/16062025/14/47/image_16062025_14_47_35_10092.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/48/image_16062025_14_48_24_10115.jpg', '/mnt/data/16062025/14/48/image_16062025_14_48_14_10119.jpg', '/mnt/data/16062025/14/47/image_16062025_14_48_04_8996.jpg', '/mnt/data/16062025/14/47/image_16062025_14_47_55_10150.jpg', '/mnt/data/16062025/14/47/image_16062025_14_47_45_10081.jpg', '/mnt/data/16062025/14/47/image_16062025_14_47_35_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/48/image_16062025_14_48_24_10115.jpg', '/mnt/data/16062025/14/48/image_16062025_14_48_14_10119.jpg', '/mnt/data/16062025/14/47/image_16062025_14_48_04_8996.jpg', '/mnt/data/16062025/14/47/image_16062025_14_47_55_10150.jpg', '/mnt/data/16062025/14/47/image_16062025_14_47_45_10081.jpg', '/mnt/data/16062025/14/47/image_16062025_14_47_35_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/48/image_16062025_14_48_24_10115.jpg
/mnt/data/16062025/14/48/image_16062025_14_48_14_10119.jpg
/mnt/data/16062025/14/47/image_16062025_14_48_04_8996.jpg
/mnt/data/16062025/14/47/image_16062025_14_47_55_10150.jpg
/mnt/data/16062025/14/47/image_16062025_14_47_45_10081.jpg
/mnt/data/16062025/14/47/image_16062025_14_47_35_10092.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376472832","1376472829","1376472820","1376472826","1376472813","1376472816"],"photo_ids_order":["1376472813","1376472816","1376472820","1376472826","1376472829","1376472832"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4ef8c1b64a13a8570a04194091bca85f.jpg","text":"TemporaryFile(/tmp/multipartBody4836430171728407680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929810448,"filename":"image_16062025_14_47_35_10092.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/84eb81b261c8914d75f195f15c79e7c0.jpg","text":"TemporaryFile(/tmp/multipartBody3021944020957333761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929810448,"filename":"image_16062025_14_47_45_10081.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a2e3aee6465aeded75d844c4d72316ea.jpg","text":"TemporaryFile(/tmp/multipartBody3390806662260945615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929810448,"filename":"image_16062025_14_48_04_8996.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1d397975183cd145481101ec97e65330.jpg","text":"TemporaryFile(/tmp/multipartBody148226184368673267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929810448,"filename":"image_16062025_14_47_55_10150.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/514b3278d9fcaf21a9a6d70b8d6c34d4.jpg","text":"TemporaryFile(/tmp/multipartBody7502943863707026171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929810448,"filename":"image_16062025_14_48_24_10115.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f021789e8de4e051e27f52c7d2b855cf.jpg","text":"TemporaryFile(/tmp/multipartBody4709562248365088059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929810448,"filename":"image_16062025_14_48_14_10119.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376472820","file1":"1376472816","file0":"1376472813","file4":"1376472829","file5":"1376472832","file3":"1376472826"},"map_files_photo_id_array":[{"photo_id":"1376472832","filename":"file5"},{"photo_id":"1376472820","filename":"file2"},{"photo_id":"1376472829","filename":"file4"},{"photo_id":"1376472816","filename":"file1"},{"photo_id":"1376472813","filename":"file0"},{"photo_id":"1376472826","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376472832":["hashtag1","hashtag2"]},{"1376472829":["hashtag1","hashtag2"]},{"1376472820":["hashtag1","hashtag2"]},{"1376472826":["hashtag1","hashtag2"]},{"1376472813":["hashtag1","hashtag2"]},{"1376472816":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376472832, 1376472829, 1376472820, 1376472826, 1376472813, 1376472816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.693618297576904 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:30:02.860674
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/47/image_16062025_14_47_24_10074.jpg', 2), ('/mnt/data/16062025/14/47/image_16062025_14_47_14_10092.jpg', 2), ('/mnt/data/16062025/14/46/image_16062025_14_47_04_10298.jpg', 2), ('/mnt/data/16062025/14/46/image_16062025_14_46_54_9943.jpg', 2), ('/mnt/data/16062025/14/46/image_16062025_14_46_44_9899.jpg', 2), ('/mnt/data/16062025/14/46/image_16062025_14_46_24_9926.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/47/image_16062025_14_47_24_10074.jpg', '/mnt/data/16062025/14/47/image_16062025_14_47_14_10092.jpg', '/mnt/data/16062025/14/46/image_16062025_14_47_04_10298.jpg', '/mnt/data/16062025/14/46/image_16062025_14_46_54_9943.jpg', '/mnt/data/16062025/14/46/image_16062025_14_46_44_9899.jpg', '/mnt/data/16062025/14/46/image_16062025_14_46_24_9926.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/47/image_16062025_14_47_24_10074.jpg', '/mnt/data/16062025/14/47/image_16062025_14_47_14_10092.jpg', '/mnt/data/16062025/14/46/image_16062025_14_47_04_10298.jpg', '/mnt/data/16062025/14/46/image_16062025_14_46_54_9943.jpg', '/mnt/data/16062025/14/46/image_16062025_14_46_44_9899.jpg', '/mnt/data/16062025/14/46/image_16062025_14_46_24_9926.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/47/image_16062025_14_47_24_10074.jpg
/mnt/data/16062025/14/47/image_16062025_14_47_14_10092.jpg
/mnt/data/16062025/14/46/image_16062025_14_47_04_10298.jpg
/mnt/data/16062025/14/46/image_16062025_14_46_54_9943.jpg
/mnt/data/16062025/14/46/image_16062025_14_46_44_9899.jpg
/mnt/data/16062025/14/46/image_16062025_14_46_24_9926.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376472862","1376472856","1376472870","1376472867","1376472865","1376472859"],"photo_ids_order":["1376472856","1376472859","1376472862","1376472865","1376472867","1376472870"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ea532ab82be054bfa7d7897eceab8c52.jpg","text":"TemporaryFile(/tmp/multipartBody929441252842268162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929878267,"filename":"image_16062025_14_47_04_10298.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d1100d4fe679d92e7054c7f465ad95db.jpg","text":"TemporaryFile(/tmp/multipartBody6211593481317679332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929878267,"filename":"image_16062025_14_47_24_10074.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c1ec1a0b6a79666d173a1eef6d78fb16.jpg","text":"TemporaryFile(/tmp/multipartBody8568953645875437475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929878267,"filename":"image_16062025_14_46_24_9926.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4cc3c414e24529faa92d38eca79910af.jpg","text":"TemporaryFile(/tmp/multipartBody212511954584634157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929878267,"filename":"image_16062025_14_46_44_9899.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5986946e11fdc3f67086beba1e82aa25.jpg","text":"TemporaryFile(/tmp/multipartBody909459476895029243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929878267,"filename":"image_16062025_14_46_54_9943.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7d17b714ab57596454a72c6f47fd46bb.jpg","text":"TemporaryFile(/tmp/multipartBody4288798031435072245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929878267,"filename":"image_16062025_14_47_14_10092.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376472862","file1":"1376472859","file0":"1376472856","file4":"1376472867","file5":"1376472870","file3":"1376472865"},"map_files_photo_id_array":[{"photo_id":"1376472870","filename":"file5"},{"photo_id":"1376472862","filename":"file2"},{"photo_id":"1376472867","filename":"file4"},{"photo_id":"1376472859","filename":"file1"},{"photo_id":"1376472856","filename":"file0"},{"photo_id":"1376472865","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376472862":["hashtag1","hashtag2"]},{"1376472856":["hashtag1","hashtag2"]},{"1376472870":["hashtag1","hashtag2"]},{"1376472867":["hashtag1","hashtag2"]},{"1376472865":["hashtag1","hashtag2"]},{"1376472859":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376472862, 1376472856, 1376472870, 1376472867, 1376472865, 1376472859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.77996349334717 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:31:02.542689
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/46/image_16062025_14_46_14_9939.jpg', 2), ('/mnt/data/16062025/14/45/image_16062025_14_46_04_9987.jpg', 2), ('/mnt/data/16062025/14/45/image_16062025_14_45_54_9891.jpg', 2), ('/mnt/data/16062025/14/45/image_16062025_14_45_44_9934.jpg', 2), ('/mnt/data/16062025/14/45/image_16062025_14_45_34_9882.jpg', 2), ('/mnt/data/16062025/14/45/image_16062025_14_45_25_9891.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/46/image_16062025_14_46_14_9939.jpg', '/mnt/data/16062025/14/45/image_16062025_14_46_04_9987.jpg', '/mnt/data/16062025/14/45/image_16062025_14_45_54_9891.jpg', '/mnt/data/16062025/14/45/image_16062025_14_45_44_9934.jpg', '/mnt/data/16062025/14/45/image_16062025_14_45_34_9882.jpg', '/mnt/data/16062025/14/45/image_16062025_14_45_25_9891.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/46/image_16062025_14_46_14_9939.jpg', '/mnt/data/16062025/14/45/image_16062025_14_46_04_9987.jpg', '/mnt/data/16062025/14/45/image_16062025_14_45_54_9891.jpg', '/mnt/data/16062025/14/45/image_16062025_14_45_44_9934.jpg', '/mnt/data/16062025/14/45/image_16062025_14_45_34_9882.jpg', '/mnt/data/16062025/14/45/image_16062025_14_45_25_9891.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/46/image_16062025_14_46_14_9939.jpg
/mnt/data/16062025/14/45/image_16062025_14_46_04_9987.jpg
/mnt/data/16062025/14/45/image_16062025_14_45_54_9891.jpg
/mnt/data/16062025/14/45/image_16062025_14_45_44_9934.jpg
/mnt/data/16062025/14/45/image_16062025_14_45_34_9882.jpg
/mnt/data/16062025/14/45/image_16062025_14_45_25_9891.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376472894","1376472897","1376472882","1376472899","1376472890","1376472887"],"photo_ids_order":["1376472882","1376472887","1376472890","1376472894","1376472897","1376472899"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cd8c66435e7dfc603870d8f43d9c4037.jpg","text":"TemporaryFile(/tmp/multipartBody2007581368472075231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929930871,"filename":"image_16062025_14_45_44_9934.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0790e7e8c21a0bfc5df599ca97db2c58.jpg","text":"TemporaryFile(/tmp/multipartBody1164097728030315368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929930871,"filename":"image_16062025_14_45_34_9882.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0b92af8b82836cd2d0509ffc45a77043.jpg","text":"TemporaryFile(/tmp/multipartBody4968514070240558284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929930871,"filename":"image_16062025_14_46_14_9939.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f516d3a4ab4967c74f2035c14a2a5024.jpg","text":"TemporaryFile(/tmp/multipartBody1713442699628039639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929930871,"filename":"image_16062025_14_45_25_9891.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/871a998c715f561ef88343978370f62b.jpg","text":"TemporaryFile(/tmp/multipartBody4466963883067901155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929930871,"filename":"image_16062025_14_45_54_9891.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d4a498a50595e7ae3bc5700dda6e92b9.jpg","text":"TemporaryFile(/tmp/multipartBody5852158558942931293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754929930871,"filename":"image_16062025_14_46_04_9987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376472890","file1":"1376472887","file0":"1376472882","file4":"1376472897","file5":"1376472899","file3":"1376472894"},"map_files_photo_id_array":[{"photo_id":"1376472899","filename":"file5"},{"photo_id":"1376472890","filename":"file2"},{"photo_id":"1376472897","filename":"file4"},{"photo_id":"1376472887","filename":"file1"},{"photo_id":"1376472882","filename":"file0"},{"photo_id":"1376472894","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376472894":["hashtag1","hashtag2"]},{"1376472897":["hashtag1","hashtag2"]},{"1376472882":["hashtag1","hashtag2"]},{"1376472899":["hashtag1","hashtag2"]},{"1376472890":["hashtag1","hashtag2"]},{"1376472887":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376472894, 1376472897, 1376472882, 1376472899, 1376472890, 1376472887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.94708871841431 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:32:03.204024
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_44_45_10186.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_44_34_10208.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_44_24_10186.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg', '/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_45_10186.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_34_10208.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_24_10186.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg', '/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_45_10186.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_34_10208.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_24_10186.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg
/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg
/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg
/mnt/data/16062025/14/44/image_16062025_14_44_45_10186.jpg
/mnt/data/16062025/14/44/image_16062025_14_44_34_10208.jpg
/mnt/data/16062025/14/44/image_16062025_14_44_24_10186.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 132.93756294250488 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:35:03.206576
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_44_45_10186.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_44_34_10208.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_44_24_10186.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg', '/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_45_10186.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_34_10208.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_24_10186.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg', '/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_45_10186.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_34_10208.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_24_10186.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg
/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg
/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg
/mnt/data/16062025/14/44/image_16062025_14_44_45_10186.jpg
/mnt/data/16062025/14/44/image_16062025_14_44_34_10208.jpg
/mnt/data/16062025/14/44/image_16062025_14_44_24_10186.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 140.6195867061615 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:38:02.945511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_44_45_10186.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_44_34_10208.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_44_24_10186.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg', '/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_45_10186.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_34_10208.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_24_10186.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg', '/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_45_10186.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_34_10208.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_24_10186.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg
/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg
/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg
/mnt/data/16062025/14/44/image_16062025_14_44_45_10186.jpg
/mnt/data/16062025/14/44/image_16062025_14_44_34_10208.jpg
/mnt/data/16062025/14/44/image_16062025_14_44_24_10186.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376473494","1376473487","1376473496","1376473498","1376473483","1376473492"],"photo_ids_order":["1376473483","1376473487","1376473492","1376473494","1376473496","1376473498"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f7e26798191ea31383d65075aeb9ac88.jpg","text":"TemporaryFile(/tmp/multipartBody8598798807262734515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930361206,"filename":"image_16062025_14_44_45_10186.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/12282b0f8d11014737fe3d914c0c6e19.jpg","text":"TemporaryFile(/tmp/multipartBody793019280800415305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930361206,"filename":"image_16062025_14_45_05_10112.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/08d50dd8d42769a6ae685816c6731cd4.jpg","text":"TemporaryFile(/tmp/multipartBody3664066798936155979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930361206,"filename":"image_16062025_14_44_34_10208.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4211960f493f2079b953d33b49863020.jpg","text":"TemporaryFile(/tmp/multipartBody3880638199845412493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930361206,"filename":"image_16062025_14_44_24_10186.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4a0496084f15424ec1463b7d44b7cb05.jpg","text":"TemporaryFile(/tmp/multipartBody2806764439930265341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930361206,"filename":"image_16062025_14_45_15_9914.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8dec5233d42769b92b56cd3043a86668.jpg","text":"TemporaryFile(/tmp/multipartBody1011110775653468501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930361206,"filename":"image_16062025_14_44_55_10158.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376473492","file1":"1376473487","file0":"1376473483","file4":"1376473496","file5":"1376473498","file3":"1376473494"},"map_files_photo_id_array":[{"photo_id":"1376473498","filename":"file5"},{"photo_id":"1376473492","filename":"file2"},{"photo_id":"1376473496","filename":"file4"},{"photo_id":"1376473487","filename":"file1"},{"photo_id":"1376473483","filename":"file0"},{"photo_id":"1376473494","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376473494":["hashtag1","hashtag2"]},{"1376473487":["hashtag1","hashtag2"]},{"1376473496":["hashtag1","hashtag2"]},{"1376473498":["hashtag1","hashtag2"]},{"1376473483":["hashtag1","hashtag2"]},{"1376473492":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376473494, 1376473487, 1376473496, 1376473498, 1376473483, 1376473492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.08421492576599 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:39:03.091793
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/44/image_16062025_14_44_14_10186.jpg', 2), ('/mnt/data/16062025/14/43/image_16062025_14_44_04_9169.jpg', 2), ('/mnt/data/16062025/14/43/image_16062025_14_43_55_10141.jpg', 2), ('/mnt/data/16062025/14/43/image_16062025_14_43_44_10153.jpg', 2), ('/mnt/data/16062025/14/43/image_16062025_14_43_34_10151.jpg', 2), ('/mnt/data/16062025/14/43/image_16062025_14_43_24_10102.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/44/image_16062025_14_44_14_10186.jpg', '/mnt/data/16062025/14/43/image_16062025_14_44_04_9169.jpg', '/mnt/data/16062025/14/43/image_16062025_14_43_55_10141.jpg', '/mnt/data/16062025/14/43/image_16062025_14_43_44_10153.jpg', '/mnt/data/16062025/14/43/image_16062025_14_43_34_10151.jpg', '/mnt/data/16062025/14/43/image_16062025_14_43_24_10102.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/44/image_16062025_14_44_14_10186.jpg', '/mnt/data/16062025/14/43/image_16062025_14_44_04_9169.jpg', '/mnt/data/16062025/14/43/image_16062025_14_43_55_10141.jpg', '/mnt/data/16062025/14/43/image_16062025_14_43_44_10153.jpg', '/mnt/data/16062025/14/43/image_16062025_14_43_34_10151.jpg', '/mnt/data/16062025/14/43/image_16062025_14_43_24_10102.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/44/image_16062025_14_44_14_10186.jpg
/mnt/data/16062025/14/43/image_16062025_14_44_04_9169.jpg
/mnt/data/16062025/14/43/image_16062025_14_43_55_10141.jpg
/mnt/data/16062025/14/43/image_16062025_14_43_44_10153.jpg
/mnt/data/16062025/14/43/image_16062025_14_43_34_10151.jpg
/mnt/data/16062025/14/43/image_16062025_14_43_24_10102.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376473515","1376473571","1376473518","1376473529","1376473520","1376473567"],"photo_ids_order":["1376473515","1376473518","1376473520","1376473529","1376473567","1376473571"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/892fa0b258ff54f7857f7c06aeb2c804.jpg","text":"TemporaryFile(/tmp/multipartBody7525669741111361623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930427862,"filename":"image_16062025_14_44_14_10186.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/effbfa618d2a6a1c73e01df9383a0b0a.jpg","text":"TemporaryFile(/tmp/multipartBody5496353279497456168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930427862,"filename":"image_16062025_14_43_24_10102.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e8dd1c86045419d429b8daaf3878714a.jpg","text":"TemporaryFile(/tmp/multipartBody682418272774132634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930427862,"filename":"image_16062025_14_44_04_9169.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/455b5006277b508b85cca0192327222d.jpg","text":"TemporaryFile(/tmp/multipartBody5254005530317605495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930427862,"filename":"image_16062025_14_43_44_10153.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4f7090a50f195aa6c522bb5edce67499.jpg","text":"TemporaryFile(/tmp/multipartBody3872399193621697578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930427862,"filename":"image_16062025_14_43_55_10141.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a9c45a28f4c0d2dc78ad75903fb0b397.jpg","text":"TemporaryFile(/tmp/multipartBody3018041287427636372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930427862,"filename":"image_16062025_14_43_34_10151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376473520","file1":"1376473518","file0":"1376473515","file4":"1376473567","file5":"1376473571","file3":"1376473529"},"map_files_photo_id_array":[{"photo_id":"1376473571","filename":"file5"},{"photo_id":"1376473520","filename":"file2"},{"photo_id":"1376473567","filename":"file4"},{"photo_id":"1376473518","filename":"file1"},{"photo_id":"1376473515","filename":"file0"},{"photo_id":"1376473529","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376473515":["hashtag1","hashtag2"]},{"1376473571":["hashtag1","hashtag2"]},{"1376473518":["hashtag1","hashtag2"]},{"1376473529":["hashtag1","hashtag2"]},{"1376473520":["hashtag1","hashtag2"]},{"1376473567":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376473515, 1376473571, 1376473518, 1376473529, 1376473520, 1376473567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.6420567035675 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:41:03.048539
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/43/image_16062025_14_43_14_10071.jpg', 2), ('/mnt/data/16062025/14/42/image_16062025_14_43_04_10181.jpg', 2), ('/mnt/data/16062025/14/42/image_16062025_14_42_54_9974.jpg', 2), ('/mnt/data/16062025/14/42/image_16062025_14_42_44_9953.jpg', 2), ('/mnt/data/16062025/14/42/image_16062025_14_42_34_9999.jpg', 2), ('/mnt/data/16062025/14/42/image_16062025_14_42_24_9991.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/43/image_16062025_14_43_14_10071.jpg', '/mnt/data/16062025/14/42/image_16062025_14_43_04_10181.jpg', '/mnt/data/16062025/14/42/image_16062025_14_42_54_9974.jpg', '/mnt/data/16062025/14/42/image_16062025_14_42_44_9953.jpg', '/mnt/data/16062025/14/42/image_16062025_14_42_34_9999.jpg', '/mnt/data/16062025/14/42/image_16062025_14_42_24_9991.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/43/image_16062025_14_43_14_10071.jpg', '/mnt/data/16062025/14/42/image_16062025_14_43_04_10181.jpg', '/mnt/data/16062025/14/42/image_16062025_14_42_54_9974.jpg', '/mnt/data/16062025/14/42/image_16062025_14_42_44_9953.jpg', '/mnt/data/16062025/14/42/image_16062025_14_42_34_9999.jpg', '/mnt/data/16062025/14/42/image_16062025_14_42_24_9991.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/43/image_16062025_14_43_14_10071.jpg
/mnt/data/16062025/14/42/image_16062025_14_43_04_10181.jpg
/mnt/data/16062025/14/42/image_16062025_14_42_54_9974.jpg
/mnt/data/16062025/14/42/image_16062025_14_42_44_9953.jpg
/mnt/data/16062025/14/42/image_16062025_14_42_34_9999.jpg
/mnt/data/16062025/14/42/image_16062025_14_42_24_9991.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376473895","1376473940","1376473862","1376473939","1376473825","1376473927"],"photo_ids_order":["1376473825","1376473862","1376473895","1376473927","1376473939","1376473940"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7fad74aec250ac76be02a90238d569b3.jpg","text":"TemporaryFile(/tmp/multipartBody5861189682602176111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930544292,"filename":"image_16062025_14_42_54_9974.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/096642aaf31d1ea6d995c44180e3fda5.jpg","text":"TemporaryFile(/tmp/multipartBody4272790425062959010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930544292,"filename":"image_16062025_14_42_24_9991.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0068e50c89cdc582d0d450bf77eb69b9.jpg","text":"TemporaryFile(/tmp/multipartBody2510983117899346589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930544292,"filename":"image_16062025_14_43_04_10181.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/76fe5cd9c443d7d658922e23ce7e5df7.jpg","text":"TemporaryFile(/tmp/multipartBody4101891502172409452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930544292,"filename":"image_16062025_14_42_34_9999.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/509146acec360d3c61f156fc3297399e.jpg","text":"TemporaryFile(/tmp/multipartBody3954847098316014272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930544292,"filename":"image_16062025_14_43_14_10071.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d617d17b539a1cde35686d56aa7f0b25.jpg","text":"TemporaryFile(/tmp/multipartBody3201710160632182888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930544292,"filename":"image_16062025_14_42_44_9953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376473895","file1":"1376473862","file0":"1376473825","file4":"1376473939","file5":"1376473940","file3":"1376473927"},"map_files_photo_id_array":[{"photo_id":"1376473940","filename":"file5"},{"photo_id":"1376473895","filename":"file2"},{"photo_id":"1376473939","filename":"file4"},{"photo_id":"1376473862","filename":"file1"},{"photo_id":"1376473825","filename":"file0"},{"photo_id":"1376473927","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376473895":["hashtag1","hashtag2"]},{"1376473940":["hashtag1","hashtag2"]},{"1376473862":["hashtag1","hashtag2"]},{"1376473939":["hashtag1","hashtag2"]},{"1376473825":["hashtag1","hashtag2"]},{"1376473927":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376473895, 1376473940, 1376473862, 1376473939, 1376473825, 1376473927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.90101170539856 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:43:03.566410
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', '/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', '/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg
/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg
uploaded 0 photos
time to upload: 30.35297727584839 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:44:03.203160
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', '/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', '/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg
/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg
uploaded 0 photos
time to upload: 32.345093727111816 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:45:02.849426
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', '/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', '/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg
/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 133.1178526878357 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:48:02.479772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', '/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', '/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg
/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_54_9975.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376474466","1376474453","1376474461","1376474464","1376474458","1376474449"],"photo_ids_order":["1376474449","1376474453","1376474458","1376474461","1376474464","1376474466"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c78e4b4f4a5070c20ddcaf24ffa073a6.jpg","text":"TemporaryFile(/tmp/multipartBody9209988932005005951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930946192,"filename":"image_16062025_14_41_24_9921.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/99cf585c2db1c028ef80b49d1cc6ccea.jpg","text":"TemporaryFile(/tmp/multipartBody4359205190033265820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930946192,"filename":"image_16062025_14_42_04_10180.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/14fab12e76057048e437b19f2247ca13.jpg","text":"TemporaryFile(/tmp/multipartBody4598623552121174907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930946192,"filename":"image_16062025_14_41_44_9925.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/06e6a6e5a08662a9d6b0aeea435549bc.jpg","text":"TemporaryFile(/tmp/multipartBody6589283041257198613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930946192,"filename":"image_16062025_14_41_34_9917.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bb14320b22b83d2d3774551dfb58d9c1.jpg","text":"TemporaryFile(/tmp/multipartBody5863043266036720922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930946192,"filename":"image_16062025_14_41_54_9975.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ab6df0c9b761010c695015f0ebd85c39.jpg","text":"TemporaryFile(/tmp/multipartBody2314941159022426967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754930946192,"filename":"image_16062025_14_42_14_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376474458","file1":"1376474453","file0":"1376474449","file4":"1376474464","file5":"1376474466","file3":"1376474461"},"map_files_photo_id_array":[{"photo_id":"1376474466","filename":"file5"},{"photo_id":"1376474458","filename":"file2"},{"photo_id":"1376474464","filename":"file4"},{"photo_id":"1376474453","filename":"file1"},{"photo_id":"1376474449","filename":"file0"},{"photo_id":"1376474461","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376474466":["hashtag1","hashtag2"]},{"1376474453":["hashtag1","hashtag2"]},{"1376474461":["hashtag1","hashtag2"]},{"1376474464":["hashtag1","hashtag2"]},{"1376474458":["hashtag1","hashtag2"]},{"1376474449":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376474466, 1376474453, 1376474461, 1376474464, 1376474458, 1376474449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23255658149719 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:49:02.697139
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/41/image_16062025_14_41_14_9940.jpg', 2), ('/mnt/data/16062025/14/40/image_16062025_14_41_04_10105.jpg', 2), ('/mnt/data/16062025/14/40/image_16062025_14_40_54_9943.jpg', 2), ('/mnt/data/16062025/14/40/image_16062025_14_40_44_9936.jpg', 2), ('/mnt/data/16062025/14/40/image_16062025_14_40_34_9971.jpg', 2), ('/mnt/data/16062025/14/40/image_16062025_14_40_24_10010.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/41/image_16062025_14_41_14_9940.jpg', '/mnt/data/16062025/14/40/image_16062025_14_41_04_10105.jpg', '/mnt/data/16062025/14/40/image_16062025_14_40_54_9943.jpg', '/mnt/data/16062025/14/40/image_16062025_14_40_44_9936.jpg', '/mnt/data/16062025/14/40/image_16062025_14_40_34_9971.jpg', '/mnt/data/16062025/14/40/image_16062025_14_40_24_10010.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/41/image_16062025_14_41_14_9940.jpg', '/mnt/data/16062025/14/40/image_16062025_14_41_04_10105.jpg', '/mnt/data/16062025/14/40/image_16062025_14_40_54_9943.jpg', '/mnt/data/16062025/14/40/image_16062025_14_40_44_9936.jpg', '/mnt/data/16062025/14/40/image_16062025_14_40_34_9971.jpg', '/mnt/data/16062025/14/40/image_16062025_14_40_24_10010.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/41/image_16062025_14_41_14_9940.jpg
/mnt/data/16062025/14/40/image_16062025_14_41_04_10105.jpg
/mnt/data/16062025/14/40/image_16062025_14_40_54_9943.jpg
/mnt/data/16062025/14/40/image_16062025_14_40_44_9936.jpg
/mnt/data/16062025/14/40/image_16062025_14_40_34_9971.jpg
/mnt/data/16062025/14/40/image_16062025_14_40_24_10010.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376474601","1376474633","1376474702","1376474731","1376474763","1376474667"],"photo_ids_order":["1376474601","1376474633","1376474667","1376474702","1376474731","1376474763"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b4227bd4e78a501d7cb101627d639272.jpg","text":"TemporaryFile(/tmp/multipartBody5244793952688394167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931015328,"filename":"image_16062025_14_41_14_9940.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9fe7acafed5cc63609ef7c4407744160.jpg","text":"TemporaryFile(/tmp/multipartBody392863949577392996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931015328,"filename":"image_16062025_14_41_04_10105.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1b0875af36a00a828cceb66cc7369d18.jpg","text":"TemporaryFile(/tmp/multipartBody1140404037963494271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931015328,"filename":"image_16062025_14_40_44_9936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b1590e3d45caae5c337c05fb5466ceca.jpg","text":"TemporaryFile(/tmp/multipartBody4053607216571311954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931015328,"filename":"image_16062025_14_40_34_9971.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/32692bf8bdb772ec12726ce857a02a48.jpg","text":"TemporaryFile(/tmp/multipartBody5118196412887344622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931015328,"filename":"image_16062025_14_40_24_10010.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/49ff3fbed15e0e1d7797553590c6b37f.jpg","text":"TemporaryFile(/tmp/multipartBody6932193099872857830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931015328,"filename":"image_16062025_14_40_54_9943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376474667","file1":"1376474633","file0":"1376474601","file4":"1376474731","file5":"1376474763","file3":"1376474702"},"map_files_photo_id_array":[{"photo_id":"1376474763","filename":"file5"},{"photo_id":"1376474667","filename":"file2"},{"photo_id":"1376474731","filename":"file4"},{"photo_id":"1376474633","filename":"file1"},{"photo_id":"1376474601","filename":"file0"},{"photo_id":"1376474702","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376474601":["hashtag1","hashtag2"]},{"1376474633":["hashtag1","hashtag2"]},{"1376474702":["hashtag1","hashtag2"]},{"1376474731":["hashtag1","hashtag2"]},{"1376474763":["hashtag1","hashtag2"]},{"1376474667":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376474601, 1376474633, 1376474702, 1376474731, 1376474763, 1376474667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.20175647735596 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:50:02.373823
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/40/image_16062025_14_40_14_10219.jpg', 2), ('/mnt/data/16062025/14/39/image_16062025_14_40_04_9074.jpg', 2), ('/mnt/data/16062025/14/39/image_16062025_14_39_55_10015.jpg', 2), ('/mnt/data/16062025/14/39/image_16062025_14_39_45_10036.jpg', 2), ('/mnt/data/16062025/14/39/image_16062025_14_39_35_10011.jpg', 2), ('/mnt/data/16062025/14/39/image_16062025_14_39_25_9988.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/40/image_16062025_14_40_14_10219.jpg', '/mnt/data/16062025/14/39/image_16062025_14_40_04_9074.jpg', '/mnt/data/16062025/14/39/image_16062025_14_39_55_10015.jpg', '/mnt/data/16062025/14/39/image_16062025_14_39_45_10036.jpg', '/mnt/data/16062025/14/39/image_16062025_14_39_35_10011.jpg', '/mnt/data/16062025/14/39/image_16062025_14_39_25_9988.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/40/image_16062025_14_40_14_10219.jpg', '/mnt/data/16062025/14/39/image_16062025_14_40_04_9074.jpg', '/mnt/data/16062025/14/39/image_16062025_14_39_55_10015.jpg', '/mnt/data/16062025/14/39/image_16062025_14_39_45_10036.jpg', '/mnt/data/16062025/14/39/image_16062025_14_39_35_10011.jpg', '/mnt/data/16062025/14/39/image_16062025_14_39_25_9988.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/40/image_16062025_14_40_14_10219.jpg
/mnt/data/16062025/14/39/image_16062025_14_40_04_9074.jpg
/mnt/data/16062025/14/39/image_16062025_14_39_55_10015.jpg
/mnt/data/16062025/14/39/image_16062025_14_39_45_10036.jpg
/mnt/data/16062025/14/39/image_16062025_14_39_35_10011.jpg
/mnt/data/16062025/14/39/image_16062025_14_39_25_9988.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376474868","1376474866","1376474854","1376474863","1376474871","1376474859"],"photo_ids_order":["1376474854","1376474859","1376474863","1376474866","1376474868","1376474871"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/431fcf3e885e97bddc1d9ab2f5f8fe3c.jpg","text":"TemporaryFile(/tmp/multipartBody8730440625985291523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931068668,"filename":"image_16062025_14_39_35_10011.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fbac6a41ab750adaa32045da9625c0c2.jpg","text":"TemporaryFile(/tmp/multipartBody8433568918884223289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931068668,"filename":"image_16062025_14_39_45_10036.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/35fa7b40709090839155416ef9d09cb5.jpg","text":"TemporaryFile(/tmp/multipartBody3684978444588085039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931068668,"filename":"image_16062025_14_40_14_10219.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1c0952a2adafc6ce52a727019a7f3962.jpg","text":"TemporaryFile(/tmp/multipartBody8348161672747166534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931068668,"filename":"image_16062025_14_39_55_10015.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4c4814c064d75e02e26e932e66787270.jpg","text":"TemporaryFile(/tmp/multipartBody4422975463325874839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931068668,"filename":"image_16062025_14_39_25_9988.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1ae6fc9cd8a86aa54a08e0385ce23dfd.jpg","text":"TemporaryFile(/tmp/multipartBody559826144830285925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931068668,"filename":"image_16062025_14_40_04_9074.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376474863","file1":"1376474859","file0":"1376474854","file4":"1376474868","file5":"1376474871","file3":"1376474866"},"map_files_photo_id_array":[{"photo_id":"1376474871","filename":"file5"},{"photo_id":"1376474863","filename":"file2"},{"photo_id":"1376474868","filename":"file4"},{"photo_id":"1376474859","filename":"file1"},{"photo_id":"1376474854","filename":"file0"},{"photo_id":"1376474866","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376474868":["hashtag1","hashtag2"]},{"1376474866":["hashtag1","hashtag2"]},{"1376474854":["hashtag1","hashtag2"]},{"1376474863":["hashtag1","hashtag2"]},{"1376474871":["hashtag1","hashtag2"]},{"1376474859":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376474868, 1376474866, 1376474854, 1376474863, 1376474871, 1376474859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.862366914749146 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:51:03.697167
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/39/image_16062025_14_39_15_9999.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_39_05_10162.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_38_55_10013.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_38_45_10088.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_38_34_10082.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_38_24_10011.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/39/image_16062025_14_39_15_9999.jpg', '/mnt/data/16062025/14/38/image_16062025_14_39_05_10162.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_55_10013.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_45_10088.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_34_10082.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_24_10011.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/39/image_16062025_14_39_15_9999.jpg', '/mnt/data/16062025/14/38/image_16062025_14_39_05_10162.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_55_10013.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_45_10088.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_34_10082.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_24_10011.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/39/image_16062025_14_39_15_9999.jpg
/mnt/data/16062025/14/38/image_16062025_14_39_05_10162.jpg
/mnt/data/16062025/14/38/image_16062025_14_38_55_10013.jpg
/mnt/data/16062025/14/38/image_16062025_14_38_45_10088.jpg
/mnt/data/16062025/14/38/image_16062025_14_38_34_10082.jpg
/mnt/data/16062025/14/38/image_16062025_14_38_24_10011.jpg
uploaded 0 photos
time to upload: 2.5433740615844727 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:52:02.991184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/39/image_16062025_14_39_15_9999.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_39_05_10162.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_38_55_10013.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_38_45_10088.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_38_34_10082.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_38_24_10011.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/39/image_16062025_14_39_15_9999.jpg', '/mnt/data/16062025/14/38/image_16062025_14_39_05_10162.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_55_10013.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_45_10088.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_34_10082.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_24_10011.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/39/image_16062025_14_39_15_9999.jpg', '/mnt/data/16062025/14/38/image_16062025_14_39_05_10162.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_55_10013.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_45_10088.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_34_10082.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_24_10011.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/39/image_16062025_14_39_15_9999.jpg
/mnt/data/16062025/14/38/image_16062025_14_39_05_10162.jpg
/mnt/data/16062025/14/38/image_16062025_14_38_55_10013.jpg
/mnt/data/16062025/14/38/image_16062025_14_38_45_10088.jpg
/mnt/data/16062025/14/38/image_16062025_14_38_34_10082.jpg
/mnt/data/16062025/14/38/image_16062025_14_38_24_10011.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376475213","1376475221","1376475209","1376475217","1376475183","1376475147"],"photo_ids_order":["1376475147","1376475183","1376475209","1376475213","1376475217","1376475221"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/070c252d8dd2c5399f2a707aaccbfaf6.jpg","text":"TemporaryFile(/tmp/multipartBody4446493797671735537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931202060,"filename":"image_16062025_14_38_45_10088.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6c3031024f89f018dcd22dbb99baa41a.jpg","text":"TemporaryFile(/tmp/multipartBody4970723868176364157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931202060,"filename":"image_16062025_14_38_24_10011.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5150e43a3ab13cb1e88e8c975fd34028.jpg","text":"TemporaryFile(/tmp/multipartBody7155775651160885481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931202060,"filename":"image_16062025_14_38_55_10013.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7f92d755981439979774817e00a0aea2.jpg","text":"TemporaryFile(/tmp/multipartBody7699568780226657391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931202060,"filename":"image_16062025_14_38_34_10082.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2fbc3a8536b97d19b4a0e0a14c6c2239.jpg","text":"TemporaryFile(/tmp/multipartBody8470515716188852264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931202060,"filename":"image_16062025_14_39_05_10162.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c77a787bff0ae571cdc4894ddb1f378a.jpg","text":"TemporaryFile(/tmp/multipartBody2996318163665250675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931202060,"filename":"image_16062025_14_39_15_9999.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376475209","file1":"1376475183","file0":"1376475147","file4":"1376475217","file5":"1376475221","file3":"1376475213"},"map_files_photo_id_array":[{"photo_id":"1376475221","filename":"file5"},{"photo_id":"1376475209","filename":"file2"},{"photo_id":"1376475217","filename":"file4"},{"photo_id":"1376475183","filename":"file1"},{"photo_id":"1376475147","filename":"file0"},{"photo_id":"1376475213","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376475213":["hashtag1","hashtag2"]},{"1376475221":["hashtag1","hashtag2"]},{"1376475209":["hashtag1","hashtag2"]},{"1376475217":["hashtag1","hashtag2"]},{"1376475183":["hashtag1","hashtag2"]},{"1376475147":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376475213, 1376475221, 1376475209, 1376475217, 1376475183, 1376475147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.84578323364258 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:53:03.284611
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/38/image_16062025_14_38_14_10032.jpg', 2), ('/mnt/data/16062025/14/37/image_16062025_14_38_04_10144.jpg', 2), ('/mnt/data/16062025/14/37/image_16062025_14_37_54_10030.jpg', 2), ('/mnt/data/16062025/14/37/image_16062025_14_37_44_10002.jpg', 2), ('/mnt/data/16062025/14/37/image_16062025_14_37_34_10000.jpg', 2), ('/mnt/data/16062025/14/37/image_16062025_14_37_24_10026.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/38/image_16062025_14_38_14_10032.jpg', '/mnt/data/16062025/14/37/image_16062025_14_38_04_10144.jpg', '/mnt/data/16062025/14/37/image_16062025_14_37_54_10030.jpg', '/mnt/data/16062025/14/37/image_16062025_14_37_44_10002.jpg', '/mnt/data/16062025/14/37/image_16062025_14_37_34_10000.jpg', '/mnt/data/16062025/14/37/image_16062025_14_37_24_10026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/38/image_16062025_14_38_14_10032.jpg', '/mnt/data/16062025/14/37/image_16062025_14_38_04_10144.jpg', '/mnt/data/16062025/14/37/image_16062025_14_37_54_10030.jpg', '/mnt/data/16062025/14/37/image_16062025_14_37_44_10002.jpg', '/mnt/data/16062025/14/37/image_16062025_14_37_34_10000.jpg', '/mnt/data/16062025/14/37/image_16062025_14_37_24_10026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/38/image_16062025_14_38_14_10032.jpg
/mnt/data/16062025/14/37/image_16062025_14_38_04_10144.jpg
/mnt/data/16062025/14/37/image_16062025_14_37_54_10030.jpg
/mnt/data/16062025/14/37/image_16062025_14_37_44_10002.jpg
/mnt/data/16062025/14/37/image_16062025_14_37_34_10000.jpg
/mnt/data/16062025/14/37/image_16062025_14_37_24_10026.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376475228","1376475242","1376475239","1376475226","1376475235","1376475231"],"photo_ids_order":["1376475226","1376475228","1376475231","1376475235","1376475239","1376475242"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3b09c185c65029c9cbd80662b7c71e8e.jpg","text":"TemporaryFile(/tmp/multipartBody935725326378409470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931254512,"filename":"image_16062025_14_38_04_10144.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/98dab4460b60630fd2248a352f2ffa8a.jpg","text":"TemporaryFile(/tmp/multipartBody1009747294084648784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931254512,"filename":"image_16062025_14_37_24_10026.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b7a595159d29ed06f3861c8d460e152a.jpg","text":"TemporaryFile(/tmp/multipartBody7741296364764659869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931254512,"filename":"image_16062025_14_37_34_10000.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d0fab6605f634180447bc9adc2c4e893.jpg","text":"TemporaryFile(/tmp/multipartBody6619991249557460770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931254512,"filename":"image_16062025_14_38_14_10032.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cd25fe1320c697e4e01a40c61b8030dd.jpg","text":"TemporaryFile(/tmp/multipartBody4060529402349487054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931254512,"filename":"image_16062025_14_37_44_10002.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b1cf202ee53b0b5a69eb87d7da792f62.jpg","text":"TemporaryFile(/tmp/multipartBody3202261096671475717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931254512,"filename":"image_16062025_14_37_54_10030.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376475231","file1":"1376475228","file0":"1376475226","file4":"1376475239","file5":"1376475242","file3":"1376475235"},"map_files_photo_id_array":[{"photo_id":"1376475242","filename":"file5"},{"photo_id":"1376475231","filename":"file2"},{"photo_id":"1376475239","filename":"file4"},{"photo_id":"1376475228","filename":"file1"},{"photo_id":"1376475226","filename":"file0"},{"photo_id":"1376475235","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376475228":["hashtag1","hashtag2"]},{"1376475242":["hashtag1","hashtag2"]},{"1376475239":["hashtag1","hashtag2"]},{"1376475226":["hashtag1","hashtag2"]},{"1376475235":["hashtag1","hashtag2"]},{"1376475231":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376475228, 1376475242, 1376475239, 1376475226, 1376475235, 1376475231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.053584575653076 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:54:03.031056
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/37/image_16062025_14_37_14_9984.jpg', 2), ('/mnt/data/16062025/14/36/image_16062025_14_37_04_10299.jpg', 2), ('/mnt/data/16062025/14/36/image_16062025_14_36_54_9972.jpg', 2), ('/mnt/data/16062025/14/36/image_16062025_14_36_44_9961.jpg', 2), ('/mnt/data/16062025/14/36/image_16062025_14_36_34_9913.jpg', 2), ('/mnt/data/16062025/14/36/image_16062025_14_36_24_9916.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/37/image_16062025_14_37_14_9984.jpg', '/mnt/data/16062025/14/36/image_16062025_14_37_04_10299.jpg', '/mnt/data/16062025/14/36/image_16062025_14_36_54_9972.jpg', '/mnt/data/16062025/14/36/image_16062025_14_36_44_9961.jpg', '/mnt/data/16062025/14/36/image_16062025_14_36_34_9913.jpg', '/mnt/data/16062025/14/36/image_16062025_14_36_24_9916.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/37/image_16062025_14_37_14_9984.jpg', '/mnt/data/16062025/14/36/image_16062025_14_37_04_10299.jpg', '/mnt/data/16062025/14/36/image_16062025_14_36_54_9972.jpg', '/mnt/data/16062025/14/36/image_16062025_14_36_44_9961.jpg', '/mnt/data/16062025/14/36/image_16062025_14_36_34_9913.jpg', '/mnt/data/16062025/14/36/image_16062025_14_36_24_9916.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/37/image_16062025_14_37_14_9984.jpg
/mnt/data/16062025/14/36/image_16062025_14_37_04_10299.jpg
/mnt/data/16062025/14/36/image_16062025_14_36_54_9972.jpg
/mnt/data/16062025/14/36/image_16062025_14_36_44_9961.jpg
/mnt/data/16062025/14/36/image_16062025_14_36_34_9913.jpg
/mnt/data/16062025/14/36/image_16062025_14_36_24_9916.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376475278","1376475266","1376475269","1376475274","1376475265","1376475282"],"photo_ids_order":["1376475265","1376475266","1376475269","1376475274","1376475278","1376475282"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3c262c6d660446bf940aa7f0b2b00297.jpg","text":"TemporaryFile(/tmp/multipartBody2760538059864168898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931314417,"filename":"image_16062025_14_36_34_9913.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e7aba9c1e43319536e4c7d50aa2d87f4.jpg","text":"TemporaryFile(/tmp/multipartBody4185008442319172892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931314417,"filename":"image_16062025_14_37_04_10299.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b205dd77393876283bc11e3c38b13b33.jpg","text":"TemporaryFile(/tmp/multipartBody9085720499829927512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931314417,"filename":"image_16062025_14_36_54_9972.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/12e8bf1cdbfd8b9c5ad2277cfdbb8a18.jpg","text":"TemporaryFile(/tmp/multipartBody6181136721158970258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931314417,"filename":"image_16062025_14_36_44_9961.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/08f951680b3f129c76cc05785f87856e.jpg","text":"TemporaryFile(/tmp/multipartBody5622324553519740144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931314417,"filename":"image_16062025_14_37_14_9984.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/050709d734c9662a01d47caf1f3c969b.jpg","text":"TemporaryFile(/tmp/multipartBody3934404747779216366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931314417,"filename":"image_16062025_14_36_24_9916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376475269","file1":"1376475266","file0":"1376475265","file4":"1376475278","file5":"1376475282","file3":"1376475274"},"map_files_photo_id_array":[{"photo_id":"1376475282","filename":"file5"},{"photo_id":"1376475269","filename":"file2"},{"photo_id":"1376475278","filename":"file4"},{"photo_id":"1376475266","filename":"file1"},{"photo_id":"1376475265","filename":"file0"},{"photo_id":"1376475274","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376475278":["hashtag1","hashtag2"]},{"1376475266":["hashtag1","hashtag2"]},{"1376475269":["hashtag1","hashtag2"]},{"1376475274":["hashtag1","hashtag2"]},{"1376475265":["hashtag1","hashtag2"]},{"1376475282":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376475278, 1376475266, 1376475269, 1376475274, 1376475265, 1376475282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.621495723724365 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:55:03.486853
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/36/image_16062025_14_36_14_9935.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_36_04_10251.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_35_54_9917.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_35_44_9931.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_35_34_9944.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_35_24_9952.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/36/image_16062025_14_36_14_9935.jpg', '/mnt/data/16062025/14/35/image_16062025_14_36_04_10251.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_54_9917.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_44_9931.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_34_9944.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_24_9952.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/36/image_16062025_14_36_14_9935.jpg', '/mnt/data/16062025/14/35/image_16062025_14_36_04_10251.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_54_9917.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_44_9931.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_34_9944.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_24_9952.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/36/image_16062025_14_36_14_9935.jpg
/mnt/data/16062025/14/35/image_16062025_14_36_04_10251.jpg
/mnt/data/16062025/14/35/image_16062025_14_35_54_9917.jpg
/mnt/data/16062025/14/35/image_16062025_14_35_44_9931.jpg
/mnt/data/16062025/14/35/image_16062025_14_35_34_9944.jpg
/mnt/data/16062025/14/35/image_16062025_14_35_24_9952.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 129.1070215702057 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 18:59:03.512242
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/36/image_16062025_14_36_14_9935.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_36_04_10251.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_35_54_9917.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_35_44_9931.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_35_34_9944.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_35_24_9952.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/36/image_16062025_14_36_14_9935.jpg', '/mnt/data/16062025/14/35/image_16062025_14_36_04_10251.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_54_9917.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_44_9931.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_34_9944.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_24_9952.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/36/image_16062025_14_36_14_9935.jpg', '/mnt/data/16062025/14/35/image_16062025_14_36_04_10251.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_54_9917.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_44_9931.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_34_9944.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_24_9952.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/36/image_16062025_14_36_14_9935.jpg
/mnt/data/16062025/14/35/image_16062025_14_36_04_10251.jpg
/mnt/data/16062025/14/35/image_16062025_14_35_54_9917.jpg
/mnt/data/16062025/14/35/image_16062025_14_35_44_9931.jpg
/mnt/data/16062025/14/35/image_16062025_14_35_34_9944.jpg
/mnt/data/16062025/14/35/image_16062025_14_35_24_9952.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376476346","1376476160","1376476223","1376476063","1376476098","1376476284"],"photo_ids_order":["1376476063","1376476098","1376476160","1376476223","1376476284","1376476346"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6ec19483845bd692732fc3576f7362b7.jpg","text":"TemporaryFile(/tmp/multipartBody3591896863531125778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931617041,"filename":"image_16062025_14_35_24_9952.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/46ecfaa1331460915b11c84b83663316.jpg","text":"TemporaryFile(/tmp/multipartBody6526193308865522731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931617041,"filename":"image_16062025_14_35_54_9917.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/78718ed48ff68c8e994d1f5e3f460e4a.jpg","text":"TemporaryFile(/tmp/multipartBody8899450791168696071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931617041,"filename":"image_16062025_14_35_44_9931.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f115d2bd0383034b499b4657cf9965f5.jpg","text":"TemporaryFile(/tmp/multipartBody2056429832873032672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931617041,"filename":"image_16062025_14_36_14_9935.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/85f466b01040c3e7ca334e8c671d3c15.jpg","text":"TemporaryFile(/tmp/multipartBody6450897016773037049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931617041,"filename":"image_16062025_14_36_04_10251.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/baf8e763f68662a0523cba7f79f8cfaa.jpg","text":"TemporaryFile(/tmp/multipartBody100295889773675185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931617041,"filename":"image_16062025_14_35_34_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376476160","file1":"1376476098","file0":"1376476063","file4":"1376476284","file5":"1376476346","file3":"1376476223"},"map_files_photo_id_array":[{"photo_id":"1376476346","filename":"file5"},{"photo_id":"1376476160","filename":"file2"},{"photo_id":"1376476284","filename":"file4"},{"photo_id":"1376476098","filename":"file1"},{"photo_id":"1376476063","filename":"file0"},{"photo_id":"1376476223","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376476346":["hashtag1","hashtag2"]},{"1376476160":["hashtag1","hashtag2"]},{"1376476223":["hashtag1","hashtag2"]},{"1376476063":["hashtag1","hashtag2"]},{"1376476098":["hashtag1","hashtag2"]},{"1376476284":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376476346, 1376476160, 1376476223, 1376476063, 1376476098, 1376476284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.20663404464722 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:00:03.020439
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/34/image_16062025_14_35_04_10064.jpg', 2), ('/mnt/data/16062025/14/34/image_16062025_14_34_54_9917.jpg', 2), ('/mnt/data/16062025/14/34/image_16062025_14_34_44_10139.jpg', 2), ('/mnt/data/16062025/14/34/image_16062025_14_34_34_10159.jpg', 2), ('/mnt/data/16062025/14/34/image_16062025_14_34_24_10176.jpg', 2), ('/mnt/data/16062025/14/34/image_16062025_14_34_14_8995.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/34/image_16062025_14_35_04_10064.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_54_9917.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_44_10139.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_34_10159.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_24_10176.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_14_8995.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/34/image_16062025_14_35_04_10064.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_54_9917.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_44_10139.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_34_10159.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_24_10176.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_14_8995.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/34/image_16062025_14_35_04_10064.jpg
/mnt/data/16062025/14/34/image_16062025_14_34_54_9917.jpg
/mnt/data/16062025/14/34/image_16062025_14_34_44_10139.jpg
/mnt/data/16062025/14/34/image_16062025_14_34_34_10159.jpg
/mnt/data/16062025/14/34/image_16062025_14_34_24_10176.jpg
/mnt/data/16062025/14/34/image_16062025_14_34_14_8995.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376476613","1376476651","1376476896","1376476708","1376476770","1376476833"],"photo_ids_order":["1376476613","1376476651","1376476708","1376476770","1376476833","1376476896"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d35aae3f6e691d48edff15b22b962a2e.jpg","text":"TemporaryFile(/tmp/multipartBody4922860040554420739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931671119,"filename":"image_16062025_14_35_04_10064.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c8ff270de5afab75458841a90f33897b.jpg","text":"TemporaryFile(/tmp/multipartBody1519380037760652270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931671119,"filename":"image_16062025_14_34_54_9917.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5ac294e5915bc7bc2f5e5159174363c4.jpg","text":"TemporaryFile(/tmp/multipartBody795085293975643125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931671119,"filename":"image_16062025_14_34_14_8995.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/baa8405ddd3e2ba3552195e6cceee95c.jpg","text":"TemporaryFile(/tmp/multipartBody2104607452101149502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931671119,"filename":"image_16062025_14_34_44_10139.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a810159e4a05aeeeb7378c17a1c1ea61.jpg","text":"TemporaryFile(/tmp/multipartBody6009240802073101772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931671119,"filename":"image_16062025_14_34_34_10159.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/678e01f8af8d9f682af7a942e07dbab9.jpg","text":"TemporaryFile(/tmp/multipartBody7461751612825693922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754931671119,"filename":"image_16062025_14_34_24_10176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376476708","file1":"1376476651","file0":"1376476613","file4":"1376476833","file5":"1376476896","file3":"1376476770"},"map_files_photo_id_array":[{"photo_id":"1376476896","filename":"file5"},{"photo_id":"1376476708","filename":"file2"},{"photo_id":"1376476833","filename":"file4"},{"photo_id":"1376476651","filename":"file1"},{"photo_id":"1376476613","filename":"file0"},{"photo_id":"1376476770","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376476613":["hashtag1","hashtag2"]},{"1376476651":["hashtag1","hashtag2"]},{"1376476896":["hashtag1","hashtag2"]},{"1376476708":["hashtag1","hashtag2"]},{"1376476770":["hashtag1","hashtag2"]},{"1376476833":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376476613, 1376476651, 1376476896, 1376476708, 1376476770, 1376476833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.156445264816284 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:01:03.137353
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg
uploaded 0 photos
time to upload: 30.394043445587158 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:02:02.906632
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 136.21259188652039 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:05:02.959354
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg
uploaded 0 photos
time to upload: 30.30109715461731 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:06:02.681233
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376478709","1376478741","1376478749","1376478641","1376478676","1376478608"],"photo_ids_order":["1376478608","1376478641","1376478676","1376478709","1376478741","1376478749"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/52d5d41e7dc9c0515ce799df43455a27.jpg","text":"TemporaryFile(/tmp/multipartBody3495000443323696724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932044718,"filename":"image_16062025_14_33_34_10144.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bef257d9d5efbeef22f6b2860c5deeaa.jpg","text":"TemporaryFile(/tmp/multipartBody9141965491079736509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932044718,"filename":"image_16062025_14_33_24_9015.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5cf27a06369472df3c3606a9a9668a7e.jpg","text":"TemporaryFile(/tmp/multipartBody8592486838204985729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932044718,"filename":"image_16062025_14_33_15_10227.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/39925d414d7a68c7f3208b98ea3c1d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5410802252088476527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932044718,"filename":"image_16062025_14_33_54_10194.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ae509f9da772aec9dd19c8f7aefeefab.jpg","text":"TemporaryFile(/tmp/multipartBody213113152795790038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932044718,"filename":"image_16062025_14_33_44_10160.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ee3c100bbc8ac8f602c128cc5eec0bf4.jpg","text":"TemporaryFile(/tmp/multipartBody1033461197556793569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932044718,"filename":"image_16062025_14_34_05_10588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376478676","file1":"1376478641","file0":"1376478608","file4":"1376478741","file5":"1376478749","file3":"1376478709"},"map_files_photo_id_array":[{"photo_id":"1376478749","filename":"file5"},{"photo_id":"1376478676","filename":"file2"},{"photo_id":"1376478741","filename":"file4"},{"photo_id":"1376478641","filename":"file1"},{"photo_id":"1376478608","filename":"file0"},{"photo_id":"1376478709","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376478709":["hashtag1","hashtag2"]},{"1376478741":["hashtag1","hashtag2"]},{"1376478749":["hashtag1","hashtag2"]},{"1376478641":["hashtag1","hashtag2"]},{"1376478676":["hashtag1","hashtag2"]},{"1376478608":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376478709, 1376478741, 1376478749, 1376478641, 1376478676, 1376478608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.148306131362915 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:08:03.164952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/32/image_16062025_14_33_04_10470.jpg', 2), ('/mnt/data/16062025/14/32/image_16062025_14_32_54_9834.jpg', 2), ('/mnt/data/16062025/14/32/image_16062025_14_32_44_10255.jpg', 2), ('/mnt/data/16062025/14/32/image_16062025_14_32_34_10206.jpg', 2), ('/mnt/data/16062025/14/32/image_16062025_14_32_24_8975.jpg', 2), ('/mnt/data/16062025/14/32/image_16062025_14_32_15_9947.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/32/image_16062025_14_33_04_10470.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_54_9834.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_44_10255.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_34_10206.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_24_8975.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_15_9947.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/32/image_16062025_14_33_04_10470.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_54_9834.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_44_10255.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_34_10206.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_24_8975.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_15_9947.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/32/image_16062025_14_33_04_10470.jpg
/mnt/data/16062025/14/32/image_16062025_14_32_54_9834.jpg
/mnt/data/16062025/14/32/image_16062025_14_32_44_10255.jpg
/mnt/data/16062025/14/32/image_16062025_14_32_34_10206.jpg
/mnt/data/16062025/14/32/image_16062025_14_32_24_8975.jpg
/mnt/data/16062025/14/32/image_16062025_14_32_15_9947.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376479299","1376479365","1376479188","1376479335","1376479230","1376479262"],"photo_ids_order":["1376479188","1376479230","1376479262","1376479299","1376479335","1376479365"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ebe5f6eb9497bf13057cb27c4dc520c0.jpg","text":"TemporaryFile(/tmp/multipartBody6351416716085391163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932171867,"filename":"image_16062025_14_32_34_10206.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9409e3cdb8e2a96c8c4635a033d2d1c1.jpg","text":"TemporaryFile(/tmp/multipartBody6721548814236236233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932171867,"filename":"image_16062025_14_32_15_9947.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/263f2c2ef8ff04708fa8ccdf87b7a748.jpg","text":"TemporaryFile(/tmp/multipartBody1839825349326929590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932171867,"filename":"image_16062025_14_33_04_10470.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/093f497e1bcef946c48d21d8ba359c9a.jpg","text":"TemporaryFile(/tmp/multipartBody3328748898689875190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932171867,"filename":"image_16062025_14_32_24_8975.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/599904d26a314defe31c2a138c6952bc.jpg","text":"TemporaryFile(/tmp/multipartBody7500920035793918536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932171867,"filename":"image_16062025_14_32_54_9834.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c34356781e7930f6a2ab2d104949dcff.jpg","text":"TemporaryFile(/tmp/multipartBody8569447155522454169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932171867,"filename":"image_16062025_14_32_44_10255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376479262","file1":"1376479230","file0":"1376479188","file4":"1376479335","file5":"1376479365","file3":"1376479299"},"map_files_photo_id_array":[{"photo_id":"1376479365","filename":"file5"},{"photo_id":"1376479262","filename":"file2"},{"photo_id":"1376479335","filename":"file4"},{"photo_id":"1376479230","filename":"file1"},{"photo_id":"1376479188","filename":"file0"},{"photo_id":"1376479299","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376479299":["hashtag1","hashtag2"]},{"1376479365":["hashtag1","hashtag2"]},{"1376479188":["hashtag1","hashtag2"]},{"1376479335":["hashtag1","hashtag2"]},{"1376479230":["hashtag1","hashtag2"]},{"1376479262":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376479299, 1376479365, 1376479188, 1376479335, 1376479230, 1376479262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.54916858673096 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:10:03.305888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg
uploaded 0 photos
time to upload: 30.37369394302368 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:11:03.254442
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg
uploaded 0 photos
time to upload: 30.354304313659668 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:12:02.792797
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg
uploaded 0 photos
time to upload: 30.29989743232727 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:13:02.946431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg
uploaded 0 photos
time to upload: 30.321367263793945 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:14:02.671172
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg
uploaded 0 photos
time to upload: 30.31745147705078 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:15:02.925439
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 128.65264534950256 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:18:02.627878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376480250","1376480244","1376480253","1376480247","1376480241","1376480237"],"photo_ids_order":["1376480237","1376480241","1376480244","1376480247","1376480250","1376480253"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bd7db3d317ae5eb7caf03dc6710c3435.jpg","text":"TemporaryFile(/tmp/multipartBody8199950172782092503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932761605,"filename":"image_16062025_14_31_24_8989.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fc54bb01396fe4e582a1fcb1dbee864b.jpg","text":"TemporaryFile(/tmp/multipartBody4590492936542792752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932761605,"filename":"image_16062025_14_31_44_10164.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/090080749fb40142d04b07a651bed344.jpg","text":"TemporaryFile(/tmp/multipartBody1541038538640505733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932761605,"filename":"image_16062025_14_31_15_10190.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ef2f88ce2e6f0d7f36d3dc5bb5aa1ec2.jpg","text":"TemporaryFile(/tmp/multipartBody7682870675484510622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932761605,"filename":"image_16062025_14_31_34_10138.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/69247d1d006c349cb9a400682e4537eb.jpg","text":"TemporaryFile(/tmp/multipartBody8992794317556835894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932761605,"filename":"image_16062025_14_31_54_10256.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1f991315f79a9f616d67d819f0ee7f7b.jpg","text":"TemporaryFile(/tmp/multipartBody5858591520853876914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932761605,"filename":"image_16062025_14_32_05_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376480244","file1":"1376480241","file0":"1376480237","file4":"1376480250","file5":"1376480253","file3":"1376480247"},"map_files_photo_id_array":[{"photo_id":"1376480253","filename":"file5"},{"photo_id":"1376480244","filename":"file2"},{"photo_id":"1376480250","filename":"file4"},{"photo_id":"1376480241","filename":"file1"},{"photo_id":"1376480237","filename":"file0"},{"photo_id":"1376480247","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376480250":["hashtag1","hashtag2"]},{"1376480244":["hashtag1","hashtag2"]},{"1376480253":["hashtag1","hashtag2"]},{"1376480247":["hashtag1","hashtag2"]},{"1376480241":["hashtag1","hashtag2"]},{"1376480237":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376480250, 1376480244, 1376480253, 1376480247, 1376480241, 1376480237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.044721603393555 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:20:03.158979
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/30/image_16062025_14_31_05_9993.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_55_9959.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_45_9905.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_35_9947.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_25_9931.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_15_11120.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/30/image_16062025_14_31_05_9993.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_55_9959.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_45_9905.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_35_9947.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_25_9931.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_15_11120.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/30/image_16062025_14_31_05_9993.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_55_9959.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_45_9905.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_35_9947.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_25_9931.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_15_11120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/30/image_16062025_14_31_05_9993.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_55_9959.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_45_9905.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_35_9947.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_25_9931.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_15_11120.jpg
uploaded 0 photos
time to upload: 30.356918573379517 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:21:03.155780
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/30/image_16062025_14_31_05_9993.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_55_9959.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_45_9905.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_35_9947.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_25_9931.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_15_11120.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/30/image_16062025_14_31_05_9993.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_55_9959.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_45_9905.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_35_9947.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_25_9931.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_15_11120.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/30/image_16062025_14_31_05_9993.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_55_9959.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_45_9905.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_35_9947.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_25_9931.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_15_11120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/30/image_16062025_14_31_05_9993.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_55_9959.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_45_9905.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_35_9947.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_25_9931.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_15_11120.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376480353","1376480341","1376480335","1376480355","1376480346","1376480350"],"photo_ids_order":["1376480335","1376480341","1376480346","1376480350","1376480353","1376480355"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/af3ce2d3f618d6819f8664f5bae6cf4a.jpg","text":"TemporaryFile(/tmp/multipartBody7721188086472653495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932941151,"filename":"image_16062025_14_30_25_9931.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f2f8c0235bb39fa1ad84d2f74a491f53.jpg","text":"TemporaryFile(/tmp/multipartBody6871109173063318679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932941151,"filename":"image_16062025_14_30_55_9959.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4075c82571afd1bf66a7b8f7494d05b4.jpg","text":"TemporaryFile(/tmp/multipartBody6011241402851379865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932941151,"filename":"image_16062025_14_31_05_9993.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8d7f98d695d445dee51f44fccbb165b6.jpg","text":"TemporaryFile(/tmp/multipartBody6268343569408258987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932941151,"filename":"image_16062025_14_30_15_11120.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b833642a7f96ba60cf9f3139e7a610b6.jpg","text":"TemporaryFile(/tmp/multipartBody3748588551626726210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932941151,"filename":"image_16062025_14_30_45_9905.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4c08b86a248d266ac96e9c8529216142.jpg","text":"TemporaryFile(/tmp/multipartBody1045856200240379349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932941151,"filename":"image_16062025_14_30_35_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376480346","file1":"1376480341","file0":"1376480335","file4":"1376480353","file5":"1376480355","file3":"1376480350"},"map_files_photo_id_array":[{"photo_id":"1376480355","filename":"file5"},{"photo_id":"1376480346","filename":"file2"},{"photo_id":"1376480353","filename":"file4"},{"photo_id":"1376480341","filename":"file1"},{"photo_id":"1376480335","filename":"file0"},{"photo_id":"1376480350","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376480353":["hashtag1","hashtag2"]},{"1376480341":["hashtag1","hashtag2"]},{"1376480335":["hashtag1","hashtag2"]},{"1376480355":["hashtag1","hashtag2"]},{"1376480346":["hashtag1","hashtag2"]},{"1376480350":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376480353, 1376480341, 1376480335, 1376480355, 1376480346, 1376480350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.23187565803528 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:22:03.434137
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/29/image_16062025_14_30_04_9088.jpg', 2), ('/mnt/data/16062025/14/29/image_16062025_14_29_55_9971.jpg', 2), ('/mnt/data/16062025/14/29/image_16062025_14_29_45_9924.jpg', 2), ('/mnt/data/16062025/14/29/image_16062025_14_29_35_9996.jpg', 2), ('/mnt/data/16062025/14/29/image_16062025_14_29_25_9969.jpg', 2), ('/mnt/data/16062025/14/29/image_16062025_14_29_15_9947.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/29/image_16062025_14_30_04_9088.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_55_9971.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_45_9924.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_35_9996.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_25_9969.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_15_9947.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/29/image_16062025_14_30_04_9088.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_55_9971.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_45_9924.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_35_9996.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_25_9969.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_15_9947.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/29/image_16062025_14_30_04_9088.jpg
/mnt/data/16062025/14/29/image_16062025_14_29_55_9971.jpg
/mnt/data/16062025/14/29/image_16062025_14_29_45_9924.jpg
/mnt/data/16062025/14/29/image_16062025_14_29_35_9996.jpg
/mnt/data/16062025/14/29/image_16062025_14_29_25_9969.jpg
/mnt/data/16062025/14/29/image_16062025_14_29_15_9947.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376480374","1376480382","1376480370","1376480378","1376480380","1376480365"],"photo_ids_order":["1376480365","1376480370","1376480374","1376480378","1376480380","1376480382"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ff27ac6d4f3b959bb385d163fbf5835f.jpg","text":"TemporaryFile(/tmp/multipartBody5185784322170846004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932996117,"filename":"image_16062025_14_29_45_9924.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5e097d6c43c835811cf8ba50b5e70117.jpg","text":"TemporaryFile(/tmp/multipartBody5231335461795374067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932996117,"filename":"image_16062025_14_29_15_9947.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/27fc2dc99b4036725883b40a0808ee1f.jpg","text":"TemporaryFile(/tmp/multipartBody7548487610722552879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932996117,"filename":"image_16062025_14_29_55_9971.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/93facde2c3b9275fe1e572530c585959.jpg","text":"TemporaryFile(/tmp/multipartBody142127767787745761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932996117,"filename":"image_16062025_14_29_35_9996.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1681c24c33e5c8b809aad5f0dcc1d72b.jpg","text":"TemporaryFile(/tmp/multipartBody25062527787915598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932996117,"filename":"image_16062025_14_29_25_9969.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7a318d9bb91145a16afd22a859bbf224.jpg","text":"TemporaryFile(/tmp/multipartBody9220293851153361466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754932996117,"filename":"image_16062025_14_30_04_9088.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376480374","file1":"1376480370","file0":"1376480365","file4":"1376480380","file5":"1376480382","file3":"1376480378"},"map_files_photo_id_array":[{"photo_id":"1376480382","filename":"file5"},{"photo_id":"1376480374","filename":"file2"},{"photo_id":"1376480380","filename":"file4"},{"photo_id":"1376480370","filename":"file1"},{"photo_id":"1376480365","filename":"file0"},{"photo_id":"1376480378","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376480374":["hashtag1","hashtag2"]},{"1376480382":["hashtag1","hashtag2"]},{"1376480370":["hashtag1","hashtag2"]},{"1376480378":["hashtag1","hashtag2"]},{"1376480380":["hashtag1","hashtag2"]},{"1376480365":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376480374, 1376480382, 1376480370, 1376480378, 1376480380, 1376480365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.946189641952515 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:23:03.264663
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/28/image_16062025_14_29_05_9992.jpg', 2), ('/mnt/data/16062025/14/28/image_16062025_14_28_55_11108.jpg', 2), ('/mnt/data/16062025/14/28/image_16062025_14_28_44_9925.jpg', 2), ('/mnt/data/16062025/14/28/image_16062025_14_28_34_9922.jpg', 2), ('/mnt/data/16062025/14/28/image_16062025_14_28_24_10055.jpg', 2), ('/mnt/data/16062025/14/28/image_16062025_14_28_14_10092.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/28/image_16062025_14_29_05_9992.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_55_11108.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_44_9925.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_34_9922.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_24_10055.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_14_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/28/image_16062025_14_29_05_9992.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_55_11108.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_44_9925.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_34_9922.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_24_10055.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_14_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/28/image_16062025_14_29_05_9992.jpg
/mnt/data/16062025/14/28/image_16062025_14_28_55_11108.jpg
/mnt/data/16062025/14/28/image_16062025_14_28_44_9925.jpg
/mnt/data/16062025/14/28/image_16062025_14_28_34_9922.jpg
/mnt/data/16062025/14/28/image_16062025_14_28_24_10055.jpg
/mnt/data/16062025/14/28/image_16062025_14_28_14_10092.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376480553","1376480523","1376480406","1376480399","1376480429","1376480494"],"photo_ids_order":["1376480399","1376480406","1376480429","1376480494","1376480523","1376480553"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/59b7d76a354d6a2c7a4d5f2e01c78e84.jpg","text":"TemporaryFile(/tmp/multipartBody2785421129576386481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933059229,"filename":"image_16062025_14_28_14_10092.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d251ee98f99d718995cb709bca22bfcb.jpg","text":"TemporaryFile(/tmp/multipartBody4138455514262800187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933059229,"filename":"image_16062025_14_28_24_10055.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/14edd5e4af9d14f5877c30e7713f1750.jpg","text":"TemporaryFile(/tmp/multipartBody1664254242175606415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933059229,"filename":"image_16062025_14_28_55_11108.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f45c217453c491ca17db56fe9b89c0f4.jpg","text":"TemporaryFile(/tmp/multipartBody1093735986309183550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933059229,"filename":"image_16062025_14_29_05_9992.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a6a539acd1fed73dff94105d0c920f72.jpg","text":"TemporaryFile(/tmp/multipartBody1388085813708258438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933059229,"filename":"image_16062025_14_28_44_9925.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/73c4673a7d9283ff6d3d51ec7e8792d8.jpg","text":"TemporaryFile(/tmp/multipartBody5667935451653216434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933059229,"filename":"image_16062025_14_28_34_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376480429","file1":"1376480406","file0":"1376480399","file4":"1376480523","file5":"1376480553","file3":"1376480494"},"map_files_photo_id_array":[{"photo_id":"1376480553","filename":"file5"},{"photo_id":"1376480429","filename":"file2"},{"photo_id":"1376480523","filename":"file4"},{"photo_id":"1376480406","filename":"file1"},{"photo_id":"1376480399","filename":"file0"},{"photo_id":"1376480494","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376480553":["hashtag1","hashtag2"]},{"1376480523":["hashtag1","hashtag2"]},{"1376480406":["hashtag1","hashtag2"]},{"1376480399":["hashtag1","hashtag2"]},{"1376480429":["hashtag1","hashtag2"]},{"1376480494":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376480553, 1376480523, 1376480406, 1376480399, 1376480429, 1376480494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.84393358230591 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:25:02.942501
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/27/image_16062025_14_28_04_9148.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_55_10058.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_45_10094.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_34_10112.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_24_10096.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_14_10018.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/27/image_16062025_14_28_04_9148.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_55_10058.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_45_10094.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_34_10112.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_24_10096.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_14_10018.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/27/image_16062025_14_28_04_9148.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_55_10058.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_45_10094.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_34_10112.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_24_10096.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_14_10018.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/27/image_16062025_14_28_04_9148.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_55_10058.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_45_10094.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_34_10112.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_24_10096.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_14_10018.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 138.25933957099915 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:28:02.908358
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/27/image_16062025_14_28_04_9148.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_55_10058.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_45_10094.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_34_10112.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_24_10096.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_14_10018.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/27/image_16062025_14_28_04_9148.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_55_10058.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_45_10094.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_34_10112.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_24_10096.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_14_10018.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/27/image_16062025_14_28_04_9148.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_55_10058.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_45_10094.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_34_10112.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_24_10096.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_14_10018.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/27/image_16062025_14_28_04_9148.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_55_10058.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_45_10094.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_34_10112.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_24_10096.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_14_10018.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376481144","1376481152","1376481146","1376481149","1376481154","1376481148"],"photo_ids_order":["1376481144","1376481146","1376481148","1376481149","1376481152","1376481154"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d2cec1141fc836241c00833377566b80.jpg","text":"TemporaryFile(/tmp/multipartBody3932284665217037684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933370091,"filename":"image_16062025_14_28_04_9148.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2d6137e5a237aca2c06b4f9d0ed4bcdb.jpg","text":"TemporaryFile(/tmp/multipartBody7463754318111998009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933370091,"filename":"image_16062025_14_27_24_10096.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/13bddd154e715394597f4957bc4cbf54.jpg","text":"TemporaryFile(/tmp/multipartBody2336387840462697748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933370091,"filename":"image_16062025_14_27_55_10058.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c80b3f3122811f2f9f2385f4affd5f66.jpg","text":"TemporaryFile(/tmp/multipartBody4313729772267938850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933370091,"filename":"image_16062025_14_27_34_10112.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/00e85c1ada95a2cb99395ba8b00d4975.jpg","text":"TemporaryFile(/tmp/multipartBody6504377629959387094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933370091,"filename":"image_16062025_14_27_14_10018.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b89d2b764162ac298a2e7f46c52a11f8.jpg","text":"TemporaryFile(/tmp/multipartBody4972899903656191258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933370091,"filename":"image_16062025_14_27_45_10094.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376481148","file1":"1376481146","file0":"1376481144","file4":"1376481152","file5":"1376481154","file3":"1376481149"},"map_files_photo_id_array":[{"photo_id":"1376481154","filename":"file5"},{"photo_id":"1376481148","filename":"file2"},{"photo_id":"1376481152","filename":"file4"},{"photo_id":"1376481146","filename":"file1"},{"photo_id":"1376481144","filename":"file0"},{"photo_id":"1376481149","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376481144":["hashtag1","hashtag2"]},{"1376481152":["hashtag1","hashtag2"]},{"1376481146":["hashtag1","hashtag2"]},{"1376481149":["hashtag1","hashtag2"]},{"1376481154":["hashtag1","hashtag2"]},{"1376481148":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376481144, 1376481152, 1376481146, 1376481149, 1376481154, 1376481148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.5687689781189 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:30:02.496663
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/26/image_16062025_14_27_04_10235.jpg', 2), ('/mnt/data/16062025/14/26/image_16062025_14_26_54_9954.jpg', 2), ('/mnt/data/16062025/14/26/image_16062025_14_26_44_9949.jpg', 2), ('/mnt/data/16062025/14/26/image_16062025_14_26_34_9965.jpg', 2), ('/mnt/data/16062025/14/26/image_16062025_14_26_24_9978.jpg', 2), ('/mnt/data/16062025/14/26/image_16062025_14_26_14_9946.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/26/image_16062025_14_27_04_10235.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_54_9954.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_44_9949.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_34_9965.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_24_9978.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_14_9946.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/26/image_16062025_14_27_04_10235.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_54_9954.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_44_9949.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_34_9965.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_24_9978.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_14_9946.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/26/image_16062025_14_27_04_10235.jpg
/mnt/data/16062025/14/26/image_16062025_14_26_54_9954.jpg
/mnt/data/16062025/14/26/image_16062025_14_26_44_9949.jpg
/mnt/data/16062025/14/26/image_16062025_14_26_34_9965.jpg
/mnt/data/16062025/14/26/image_16062025_14_26_24_9978.jpg
/mnt/data/16062025/14/26/image_16062025_14_26_14_9946.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376481217","1376481205","1376481222","1376481225","1376481213","1376481208"],"photo_ids_order":["1376481205","1376481208","1376481213","1376481217","1376481222","1376481225"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/860dd1ee350e41f57fe94af9fe8d4f1f.jpg","text":"TemporaryFile(/tmp/multipartBody8277193218021431073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933470700,"filename":"image_16062025_14_26_34_9965.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/704464f710a49caa8a37a628a9cb56ab.jpg","text":"TemporaryFile(/tmp/multipartBody7001775910914501500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933470700,"filename":"image_16062025_14_27_04_10235.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d0033ea8d0a5221e6bfc8ec971e3992d.jpg","text":"TemporaryFile(/tmp/multipartBody7609204918740333919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933470700,"filename":"image_16062025_14_26_24_9978.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/25ed35cfc3c51ddd4af09ed77e5fd626.jpg","text":"TemporaryFile(/tmp/multipartBody6291533081648454612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933470700,"filename":"image_16062025_14_26_14_9946.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/758f3ba4ad296f725cc8daf707e189cb.jpg","text":"TemporaryFile(/tmp/multipartBody8983552656770188295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933470700,"filename":"image_16062025_14_26_44_9949.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b0fe7a168c44ad86091b7b5a12315733.jpg","text":"TemporaryFile(/tmp/multipartBody3548618155974078664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933470700,"filename":"image_16062025_14_26_54_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376481213","file1":"1376481208","file0":"1376481205","file4":"1376481222","file5":"1376481225","file3":"1376481217"},"map_files_photo_id_array":[{"photo_id":"1376481225","filename":"file5"},{"photo_id":"1376481213","filename":"file2"},{"photo_id":"1376481222","filename":"file4"},{"photo_id":"1376481208","filename":"file1"},{"photo_id":"1376481205","filename":"file0"},{"photo_id":"1376481217","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376481217":["hashtag1","hashtag2"]},{"1376481205":["hashtag1","hashtag2"]},{"1376481222":["hashtag1","hashtag2"]},{"1376481225":["hashtag1","hashtag2"]},{"1376481213":["hashtag1","hashtag2"]},{"1376481208":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376481217, 1376481205, 1376481222, 1376481225, 1376481213, 1376481208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.14419913291931 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:31:02.686325
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/24/image_16062025_14_24_54_10069.jpg', 2), ('/mnt/data/16062025/14/24/image_16062025_14_24_44_9918.jpg', 2), ('/mnt/data/16062025/14/24/image_16062025_14_24_34_9941.jpg', 2), ('/mnt/data/16062025/14/24/image_16062025_14_24_24_9928.jpg', 2), ('/mnt/data/16062025/14/24/image_16062025_14_24_14_9953.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_24_04_10026.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/24/image_16062025_14_24_54_10069.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_44_9918.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_34_9941.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_24_9928.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_14_9953.jpg', '/mnt/data/16062025/14/23/image_16062025_14_24_04_10026.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/24/image_16062025_14_24_54_10069.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_44_9918.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_34_9941.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_24_9928.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_14_9953.jpg', '/mnt/data/16062025/14/23/image_16062025_14_24_04_10026.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/24/image_16062025_14_24_54_10069.jpg
/mnt/data/16062025/14/24/image_16062025_14_24_44_9918.jpg
/mnt/data/16062025/14/24/image_16062025_14_24_34_9941.jpg
/mnt/data/16062025/14/24/image_16062025_14_24_24_9928.jpg
/mnt/data/16062025/14/24/image_16062025_14_24_14_9953.jpg
/mnt/data/16062025/14/23/image_16062025_14_24_04_10026.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376481252","1376481255","1376481240","1376481248","1376481236","1376481244"],"photo_ids_order":["1376481236","1376481240","1376481244","1376481248","1376481252","1376481255"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3df475045b04711e2b734c71b1322553.jpg","text":"TemporaryFile(/tmp/multipartBody1065953427655048040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933533589,"filename":"image_16062025_14_24_14_9953.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/94e8e7c609c0becce5a74ded8e9e691b.jpg","text":"TemporaryFile(/tmp/multipartBody3305696910703840436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933533589,"filename":"image_16062025_14_24_04_10026.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e70238c8531483093b47f9498def4882.jpg","text":"TemporaryFile(/tmp/multipartBody8448833952774595749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933533589,"filename":"image_16062025_14_24_44_9918.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bc351d1db3b2b195b7b3cba0b01f1da7.jpg","text":"TemporaryFile(/tmp/multipartBody476196181666607500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933533589,"filename":"image_16062025_14_24_24_9928.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/65f47b1388c2151a46dbfd94987b00e8.jpg","text":"TemporaryFile(/tmp/multipartBody4348223109978352063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933533589,"filename":"image_16062025_14_24_54_10069.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1d114e1f7aba3ff337ec241f6856f165.jpg","text":"TemporaryFile(/tmp/multipartBody9199690634934188064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933533589,"filename":"image_16062025_14_24_34_9941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376481244","file1":"1376481240","file0":"1376481236","file4":"1376481252","file5":"1376481255","file3":"1376481248"},"map_files_photo_id_array":[{"photo_id":"1376481255","filename":"file5"},{"photo_id":"1376481244","filename":"file2"},{"photo_id":"1376481252","filename":"file4"},{"photo_id":"1376481240","filename":"file1"},{"photo_id":"1376481236","filename":"file0"},{"photo_id":"1376481248","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376481252":["hashtag1","hashtag2"]},{"1376481255":["hashtag1","hashtag2"]},{"1376481240":["hashtag1","hashtag2"]},{"1376481248":["hashtag1","hashtag2"]},{"1376481236":["hashtag1","hashtag2"]},{"1376481244":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376481252, 1376481255, 1376481240, 1376481248, 1376481236, 1376481244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.23495030403137 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:32:03.220974
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', 2), ('/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', '/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', '/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg
/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 130.10933661460876 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:35:03.721240
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', 2), ('/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', '/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', '/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg
/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg
uploaded 0 photos
time to upload: 30.317505359649658 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:36:03.160820
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', 2), ('/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', '/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', '/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg
/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 13.511276483535767 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:37:02.939190
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', 2), ('/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', '/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', '/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg
/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg
uploaded 0 photos
time to upload: 30.301270484924316 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:38:02.579029
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', 2), ('/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', '/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', '/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg
/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376482428","1376482322","1376482393","1376482494","1376482461","1376482359"],"photo_ids_order":["1376482322","1376482359","1376482393","1376482428","1376482461","1376482494"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9fb4b3faec55e852ffee8a822cd103ba.jpg","text":"TemporaryFile(/tmp/multipartBody1920062305097195842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933955995,"filename":"image_16062025_14_23_25_9918.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/168705594a957abb98cda9d538f4821c.jpg","text":"TemporaryFile(/tmp/multipartBody7926865267862196954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933955995,"filename":"image_16062025_14_23_54_9917.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d40cccbcca013c8657dd6716894af3c3.jpg","text":"TemporaryFile(/tmp/multipartBody1024689447943555341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933955995,"filename":"image_16062025_14_23_35_9915.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/797bbceac80c756370ee5fcbe9360cb6.jpg","text":"TemporaryFile(/tmp/multipartBody5359904734323214406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933955995,"filename":"image_16062025_14_23_05_10122.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e37dd09aa5330166b5cb53f644deb1e6.jpg","text":"TemporaryFile(/tmp/multipartBody7953251150829126776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933955995,"filename":"image_16062025_14_23_15_10055.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/72b42e29fe40a1a4945f44f16bff6756.jpg","text":"TemporaryFile(/tmp/multipartBody2636738293918824344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754933955995,"filename":"image_16062025_14_23_44_9959.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376482393","file1":"1376482359","file0":"1376482322","file4":"1376482461","file5":"1376482494","file3":"1376482428"},"map_files_photo_id_array":[{"photo_id":"1376482494","filename":"file5"},{"photo_id":"1376482393","filename":"file2"},{"photo_id":"1376482461","filename":"file4"},{"photo_id":"1376482359","filename":"file1"},{"photo_id":"1376482322","filename":"file0"},{"photo_id":"1376482428","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376482428":["hashtag1","hashtag2"]},{"1376482322":["hashtag1","hashtag2"]},{"1376482393":["hashtag1","hashtag2"]},{"1376482494":["hashtag1","hashtag2"]},{"1376482461":["hashtag1","hashtag2"]},{"1376482359":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376482428, 1376482322, 1376482393, 1376482494, 1376482461, 1376482359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.25522589683533 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:39:03.578618
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/22/image_16062025_14_22_55_10160.jpg', 2), ('/mnt/data/16062025/14/22/image_16062025_14_22_44_10159.jpg', 2), ('/mnt/data/16062025/14/22/image_16062025_14_22_34_10178.jpg', 2), ('/mnt/data/16062025/14/22/image_16062025_14_22_24_10096.jpg', 2), ('/mnt/data/16062025/14/22/image_16062025_14_22_14_10122.jpg', 2), ('/mnt/data/16062025/14/21/image_16062025_14_22_04_9121.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/22/image_16062025_14_22_55_10160.jpg', '/mnt/data/16062025/14/22/image_16062025_14_22_44_10159.jpg', '/mnt/data/16062025/14/22/image_16062025_14_22_34_10178.jpg', '/mnt/data/16062025/14/22/image_16062025_14_22_24_10096.jpg', '/mnt/data/16062025/14/22/image_16062025_14_22_14_10122.jpg', '/mnt/data/16062025/14/21/image_16062025_14_22_04_9121.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/22/image_16062025_14_22_55_10160.jpg', '/mnt/data/16062025/14/22/image_16062025_14_22_44_10159.jpg', '/mnt/data/16062025/14/22/image_16062025_14_22_34_10178.jpg', '/mnt/data/16062025/14/22/image_16062025_14_22_24_10096.jpg', '/mnt/data/16062025/14/22/image_16062025_14_22_14_10122.jpg', '/mnt/data/16062025/14/21/image_16062025_14_22_04_9121.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/22/image_16062025_14_22_55_10160.jpg
/mnt/data/16062025/14/22/image_16062025_14_22_44_10159.jpg
/mnt/data/16062025/14/22/image_16062025_14_22_34_10178.jpg
/mnt/data/16062025/14/22/image_16062025_14_22_24_10096.jpg
/mnt/data/16062025/14/22/image_16062025_14_22_14_10122.jpg
/mnt/data/16062025/14/21/image_16062025_14_22_04_9121.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376482871","1376482940","1376482835","1376482980","1376482906","1376483013"],"photo_ids_order":["1376482835","1376482871","1376482906","1376482940","1376482980","1376483013"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bdc71d050a4eedc510fd3c4423f95137.jpg","text":"TemporaryFile(/tmp/multipartBody348078940496177393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934026282,"filename":"image_16062025_14_22_44_10159.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/faf50810350f26d79961e7dfc54d5dbe.jpg","text":"TemporaryFile(/tmp/multipartBody276080159970911004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934026282,"filename":"image_16062025_14_22_24_10096.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c75128ac72c7d1d1c5b6f8b5fbadcddc.jpg","text":"TemporaryFile(/tmp/multipartBody3081921595319917688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934026282,"filename":"image_16062025_14_22_55_10160.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f0a38d29f79ef6987216069ab133ca6f.jpg","text":"TemporaryFile(/tmp/multipartBody6225736071347614098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934026282,"filename":"image_16062025_14_22_14_10122.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0e6746c4821333d6b47f09870b389af5.jpg","text":"TemporaryFile(/tmp/multipartBody5767546926913307365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934026282,"filename":"image_16062025_14_22_34_10178.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/08ba6f7e1f2fb1e17eba72ed300973d3.jpg","text":"TemporaryFile(/tmp/multipartBody3844129428080480234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934026282,"filename":"image_16062025_14_22_04_9121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376482906","file1":"1376482871","file0":"1376482835","file4":"1376482980","file5":"1376483013","file3":"1376482940"},"map_files_photo_id_array":[{"photo_id":"1376483013","filename":"file5"},{"photo_id":"1376482906","filename":"file2"},{"photo_id":"1376482980","filename":"file4"},{"photo_id":"1376482871","filename":"file1"},{"photo_id":"1376482835","filename":"file0"},{"photo_id":"1376482940","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376482871":["hashtag1","hashtag2"]},{"1376482940":["hashtag1","hashtag2"]},{"1376482835":["hashtag1","hashtag2"]},{"1376482980":["hashtag1","hashtag2"]},{"1376482906":["hashtag1","hashtag2"]},{"1376483013":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376482871, 1376482940, 1376482835, 1376482980, 1376482906, 1376483013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.57693815231323 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:41:02.749753
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/21/image_16062025_14_21_55_10121.jpg', 2), ('/mnt/data/16062025/14/21/image_16062025_14_21_45_10156.jpg', 2), ('/mnt/data/16062025/14/21/image_16062025_14_21_34_10151.jpg', 2), ('/mnt/data/16062025/14/21/image_16062025_14_21_24_10108.jpg', 2), ('/mnt/data/16062025/14/21/image_16062025_14_21_14_10155.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_21_04_10167.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/21/image_16062025_14_21_55_10121.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_45_10156.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_34_10151.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_24_10108.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_14_10155.jpg', '/mnt/data/16062025/14/20/image_16062025_14_21_04_10167.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/21/image_16062025_14_21_55_10121.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_45_10156.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_34_10151.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_24_10108.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_14_10155.jpg', '/mnt/data/16062025/14/20/image_16062025_14_21_04_10167.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/21/image_16062025_14_21_55_10121.jpg
/mnt/data/16062025/14/21/image_16062025_14_21_45_10156.jpg
/mnt/data/16062025/14/21/image_16062025_14_21_34_10151.jpg
/mnt/data/16062025/14/21/image_16062025_14_21_24_10108.jpg
/mnt/data/16062025/14/21/image_16062025_14_21_14_10155.jpg
/mnt/data/16062025/14/20/image_16062025_14_21_04_10167.jpg
uploaded 0 photos
time to upload: 30.403103828430176 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:42:02.288614
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/21/image_16062025_14_21_55_10121.jpg', 2), ('/mnt/data/16062025/14/21/image_16062025_14_21_45_10156.jpg', 2), ('/mnt/data/16062025/14/21/image_16062025_14_21_34_10151.jpg', 2), ('/mnt/data/16062025/14/21/image_16062025_14_21_24_10108.jpg', 2), ('/mnt/data/16062025/14/21/image_16062025_14_21_14_10155.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_21_04_10167.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/21/image_16062025_14_21_55_10121.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_45_10156.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_34_10151.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_24_10108.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_14_10155.jpg', '/mnt/data/16062025/14/20/image_16062025_14_21_04_10167.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/21/image_16062025_14_21_55_10121.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_45_10156.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_34_10151.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_24_10108.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_14_10155.jpg', '/mnt/data/16062025/14/20/image_16062025_14_21_04_10167.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/21/image_16062025_14_21_55_10121.jpg
/mnt/data/16062025/14/21/image_16062025_14_21_45_10156.jpg
/mnt/data/16062025/14/21/image_16062025_14_21_34_10151.jpg
/mnt/data/16062025/14/21/image_16062025_14_21_24_10108.jpg
/mnt/data/16062025/14/21/image_16062025_14_21_14_10155.jpg
/mnt/data/16062025/14/20/image_16062025_14_21_04_10167.jpg
uploaded 0 photos
time to upload: 30.304314136505127 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:43:03.486453
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/21/image_16062025_14_21_55_10121.jpg', 2), ('/mnt/data/16062025/14/21/image_16062025_14_21_45_10156.jpg', 2), ('/mnt/data/16062025/14/21/image_16062025_14_21_34_10151.jpg', 2), ('/mnt/data/16062025/14/21/image_16062025_14_21_24_10108.jpg', 2), ('/mnt/data/16062025/14/21/image_16062025_14_21_14_10155.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_21_04_10167.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/21/image_16062025_14_21_55_10121.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_45_10156.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_34_10151.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_24_10108.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_14_10155.jpg', '/mnt/data/16062025/14/20/image_16062025_14_21_04_10167.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/21/image_16062025_14_21_55_10121.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_45_10156.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_34_10151.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_24_10108.jpg', '/mnt/data/16062025/14/21/image_16062025_14_21_14_10155.jpg', '/mnt/data/16062025/14/20/image_16062025_14_21_04_10167.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/21/image_16062025_14_21_55_10121.jpg
/mnt/data/16062025/14/21/image_16062025_14_21_45_10156.jpg
/mnt/data/16062025/14/21/image_16062025_14_21_34_10151.jpg
/mnt/data/16062025/14/21/image_16062025_14_21_24_10108.jpg
/mnt/data/16062025/14/21/image_16062025_14_21_14_10155.jpg
/mnt/data/16062025/14/20/image_16062025_14_21_04_10167.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376483975","1376483918","1376483974","1376483973","1376483952","1376483885"],"photo_ids_order":["1376483885","1376483918","1376483952","1376483973","1376483974","1376483975"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/52b299facd5436d914c6b3d3a8133c73.jpg","text":"TemporaryFile(/tmp/multipartBody486585754439526062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934273723,"filename":"image_16062025_14_21_04_10167.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f3cb0ae1cd5bd03689543147fed3d4fd.jpg","text":"TemporaryFile(/tmp/multipartBody968006794895747273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934273723,"filename":"image_16062025_14_21_45_10156.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c61b1de98de4acba34dc67c8c3e3bc87.jpg","text":"TemporaryFile(/tmp/multipartBody1464724611632774576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934273723,"filename":"image_16062025_14_21_14_10155.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6eff39c7e05fb62ab1e3d324b8ac09f9.jpg","text":"TemporaryFile(/tmp/multipartBody9045816978056751372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934273723,"filename":"image_16062025_14_21_24_10108.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6bcdd32e07397f564f9f41d6b1fd0b22.jpg","text":"TemporaryFile(/tmp/multipartBody567650436890283648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934273723,"filename":"image_16062025_14_21_34_10151.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c9e6f2c099560fdc38fa98ab06364cd3.jpg","text":"TemporaryFile(/tmp/multipartBody5666402431985294318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934273723,"filename":"image_16062025_14_21_55_10121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376483952","file1":"1376483918","file0":"1376483885","file4":"1376483974","file5":"1376483975","file3":"1376483973"},"map_files_photo_id_array":[{"photo_id":"1376483975","filename":"file5"},{"photo_id":"1376483952","filename":"file2"},{"photo_id":"1376483974","filename":"file4"},{"photo_id":"1376483918","filename":"file1"},{"photo_id":"1376483885","filename":"file0"},{"photo_id":"1376483973","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376483975":["hashtag1","hashtag2"]},{"1376483918":["hashtag1","hashtag2"]},{"1376483974":["hashtag1","hashtag2"]},{"1376483973":["hashtag1","hashtag2"]},{"1376483952":["hashtag1","hashtag2"]},{"1376483885":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376483975, 1376483918, 1376483974, 1376483973, 1376483952, 1376483885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.68152666091919 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:45:03.175473
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', '/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', '/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg
/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg
uploaded 0 photos
time to upload: 30.352787256240845 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:46:02.571624
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', '/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', '/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg
/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 130.94593143463135 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:49:02.922812
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', '/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', '/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg
/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg
uploaded 0 photos
time to upload: 30.32189393043518 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:50:02.520207
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', '/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', '/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/20/image_16062025_14_20_54_9965.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg
/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376484242","1376484262","1376484265","1376484259","1376484267","1376484255"],"photo_ids_order":["1376484242","1376484255","1376484259","1376484262","1376484265","1376484267"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fec1d72de6e7bbd31bae22e4b090c12c.jpg","text":"TemporaryFile(/tmp/multipartBody742624768573345169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934670229,"filename":"image_16062025_14_20_54_9965.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6837496ea2728e991573cd1583ac5ca7.jpg","text":"TemporaryFile(/tmp/multipartBody4347569325452681002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934670229,"filename":"image_16062025_14_20_24_9902.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/34e5afc477a887cc3d4fb4037aff589e.jpg","text":"TemporaryFile(/tmp/multipartBody2247861191969986549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934670229,"filename":"image_16062025_14_20_14_9928.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2a03f9944774e70f2512d6510ca99bfe.jpg","text":"TemporaryFile(/tmp/multipartBody3968622954267906993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934670229,"filename":"image_16062025_14_20_34_9949.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4e79aff0efbbda5d9f97301f6cc74d69.jpg","text":"TemporaryFile(/tmp/multipartBody8249788544048435963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934670229,"filename":"image_16062025_14_20_04_10168.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/28c595ea335a1cbd5f125b4df4ff7627.jpg","text":"TemporaryFile(/tmp/multipartBody721752721005253706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934670229,"filename":"image_16062025_14_20_44_9974.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376484259","file1":"1376484255","file0":"1376484242","file4":"1376484265","file5":"1376484267","file3":"1376484262"},"map_files_photo_id_array":[{"photo_id":"1376484267","filename":"file5"},{"photo_id":"1376484259","filename":"file2"},{"photo_id":"1376484265","filename":"file4"},{"photo_id":"1376484255","filename":"file1"},{"photo_id":"1376484242","filename":"file0"},{"photo_id":"1376484262","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376484242":["hashtag1","hashtag2"]},{"1376484262":["hashtag1","hashtag2"]},{"1376484265":["hashtag1","hashtag2"]},{"1376484259":["hashtag1","hashtag2"]},{"1376484267":["hashtag1","hashtag2"]},{"1376484255":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376484242, 1376484262, 1376484265, 1376484259, 1376484267, 1376484255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.51734399795532 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:51:03.465981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/19/image_16062025_14_19_54_9947.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_19_44_9962.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_19_34_9908.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_19_24_9951.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_19_14_10002.jpg', 2), ('/mnt/data/16062025/14/18/image_16062025_14_19_04_10175.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/19/image_16062025_14_19_54_9947.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_44_9962.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_34_9908.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_24_9951.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_14_10002.jpg', '/mnt/data/16062025/14/18/image_16062025_14_19_04_10175.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/19/image_16062025_14_19_54_9947.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_44_9962.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_34_9908.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_24_9951.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_14_10002.jpg', '/mnt/data/16062025/14/18/image_16062025_14_19_04_10175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/19/image_16062025_14_19_54_9947.jpg
/mnt/data/16062025/14/19/image_16062025_14_19_44_9962.jpg
/mnt/data/16062025/14/19/image_16062025_14_19_34_9908.jpg
/mnt/data/16062025/14/19/image_16062025_14_19_24_9951.jpg
/mnt/data/16062025/14/19/image_16062025_14_19_14_10002.jpg
/mnt/data/16062025/14/18/image_16062025_14_19_04_10175.jpg
uploaded 0 photos
time to upload: 3.2349953651428223 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:52:02.379818
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/19/image_16062025_14_19_54_9947.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_19_44_9962.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_19_34_9908.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_19_24_9951.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_19_14_10002.jpg', 2), ('/mnt/data/16062025/14/18/image_16062025_14_19_04_10175.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/19/image_16062025_14_19_54_9947.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_44_9962.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_34_9908.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_24_9951.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_14_10002.jpg', '/mnt/data/16062025/14/18/image_16062025_14_19_04_10175.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/19/image_16062025_14_19_54_9947.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_44_9962.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_34_9908.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_24_9951.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_14_10002.jpg', '/mnt/data/16062025/14/18/image_16062025_14_19_04_10175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/19/image_16062025_14_19_54_9947.jpg
/mnt/data/16062025/14/19/image_16062025_14_19_44_9962.jpg
/mnt/data/16062025/14/19/image_16062025_14_19_34_9908.jpg
/mnt/data/16062025/14/19/image_16062025_14_19_24_9951.jpg
/mnt/data/16062025/14/19/image_16062025_14_19_14_10002.jpg
/mnt/data/16062025/14/18/image_16062025_14_19_04_10175.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376484317","1376484321","1376484324","1376484312","1376484306","1376484299"],"photo_ids_order":["1376484299","1376484306","1376484312","1376484317","1376484321","1376484324"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8cae54c9c162455d5f146c978b056007.jpg","text":"TemporaryFile(/tmp/multipartBody7167230249906053651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934792644,"filename":"image_16062025_14_19_24_9951.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8b135dc1490dbb249909e224aa835b66.jpg","text":"TemporaryFile(/tmp/multipartBody292396062092543596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934792644,"filename":"image_16062025_14_19_14_10002.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/133b6e44e8d45405ba5aee6d8b557670.jpg","text":"TemporaryFile(/tmp/multipartBody6249351265263731027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934792644,"filename":"image_16062025_14_19_04_10175.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c6cb988a9b8855499e84698e042c6bda.jpg","text":"TemporaryFile(/tmp/multipartBody3372812804593839798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934792644,"filename":"image_16062025_14_19_34_9908.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ed29630bc901cc6e518e6ff431894276.jpg","text":"TemporaryFile(/tmp/multipartBody3454871664845578472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934792644,"filename":"image_16062025_14_19_44_9962.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b35c6b711fe4b2f23d5ff7268d4635c3.jpg","text":"TemporaryFile(/tmp/multipartBody8470349749921080787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934792644,"filename":"image_16062025_14_19_54_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376484312","file1":"1376484306","file0":"1376484299","file4":"1376484321","file5":"1376484324","file3":"1376484317"},"map_files_photo_id_array":[{"photo_id":"1376484324","filename":"file5"},{"photo_id":"1376484312","filename":"file2"},{"photo_id":"1376484321","filename":"file4"},{"photo_id":"1376484306","filename":"file1"},{"photo_id":"1376484299","filename":"file0"},{"photo_id":"1376484317","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376484317":["hashtag1","hashtag2"]},{"1376484321":["hashtag1","hashtag2"]},{"1376484324":["hashtag1","hashtag2"]},{"1376484312":["hashtag1","hashtag2"]},{"1376484306":["hashtag1","hashtag2"]},{"1376484299":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376484317, 1376484321, 1376484324, 1376484312, 1376484306, 1376484299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.501673221588135 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:53:02.989860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/18/image_16062025_14_18_54_9980.jpg', 2), ('/mnt/data/16062025/14/18/image_16062025_14_18_44_9977.jpg', 2), ('/mnt/data/16062025/14/18/image_16062025_14_18_34_10027.jpg', 2), ('/mnt/data/16062025/14/18/image_16062025_14_18_24_10011.jpg', 2), ('/mnt/data/16062025/14/18/image_16062025_14_18_14_10004.jpg', 2), ('/mnt/data/16062025/14/17/image_16062025_14_18_04_10198.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/18/image_16062025_14_18_54_9980.jpg', '/mnt/data/16062025/14/18/image_16062025_14_18_44_9977.jpg', '/mnt/data/16062025/14/18/image_16062025_14_18_34_10027.jpg', '/mnt/data/16062025/14/18/image_16062025_14_18_24_10011.jpg', '/mnt/data/16062025/14/18/image_16062025_14_18_14_10004.jpg', '/mnt/data/16062025/14/17/image_16062025_14_18_04_10198.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/18/image_16062025_14_18_54_9980.jpg', '/mnt/data/16062025/14/18/image_16062025_14_18_44_9977.jpg', '/mnt/data/16062025/14/18/image_16062025_14_18_34_10027.jpg', '/mnt/data/16062025/14/18/image_16062025_14_18_24_10011.jpg', '/mnt/data/16062025/14/18/image_16062025_14_18_14_10004.jpg', '/mnt/data/16062025/14/17/image_16062025_14_18_04_10198.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/18/image_16062025_14_18_54_9980.jpg
/mnt/data/16062025/14/18/image_16062025_14_18_44_9977.jpg
/mnt/data/16062025/14/18/image_16062025_14_18_34_10027.jpg
/mnt/data/16062025/14/18/image_16062025_14_18_24_10011.jpg
/mnt/data/16062025/14/18/image_16062025_14_18_14_10004.jpg
/mnt/data/16062025/14/17/image_16062025_14_18_04_10198.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376484355","1376484345","1376484360","1376484342","1376484350","1376484338"],"photo_ids_order":["1376484338","1376484342","1376484345","1376484350","1376484355","1376484360"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c9ce6cf19f3034cd14d005fc5662ae32.jpg","text":"TemporaryFile(/tmp/multipartBody1453422027162861031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934855042,"filename":"image_16062025_14_18_14_10004.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/297624a2886a3c116eeb45eb8929f429.jpg","text":"TemporaryFile(/tmp/multipartBody6077775605865164433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934855042,"filename":"image_16062025_14_18_34_10027.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1f2fc20c95dd2dcabd211f92264fb2bb.jpg","text":"TemporaryFile(/tmp/multipartBody3124757783232435128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934855042,"filename":"image_16062025_14_18_04_10198.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b7565bcc1ebbf3a73b61b2bb8d441bbc.jpg","text":"TemporaryFile(/tmp/multipartBody7308915266895314206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934855042,"filename":"image_16062025_14_18_44_9977.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/931a520c58db48f0b83ed65b3b9ba970.jpg","text":"TemporaryFile(/tmp/multipartBody6058532225437695047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934855042,"filename":"image_16062025_14_18_24_10011.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/330815953c08c2abcdded47e91117e3e.jpg","text":"TemporaryFile(/tmp/multipartBody238968768885885027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934855042,"filename":"image_16062025_14_18_54_9980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376484345","file1":"1376484342","file0":"1376484338","file4":"1376484355","file5":"1376484360","file3":"1376484350"},"map_files_photo_id_array":[{"photo_id":"1376484360","filename":"file5"},{"photo_id":"1376484345","filename":"file2"},{"photo_id":"1376484355","filename":"file4"},{"photo_id":"1376484342","filename":"file1"},{"photo_id":"1376484338","filename":"file0"},{"photo_id":"1376484350","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376484355":["hashtag1","hashtag2"]},{"1376484345":["hashtag1","hashtag2"]},{"1376484360":["hashtag1","hashtag2"]},{"1376484342":["hashtag1","hashtag2"]},{"1376484350":["hashtag1","hashtag2"]},{"1376484338":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376484355, 1376484345, 1376484360, 1376484342, 1376484350, 1376484338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.09924936294556 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:54:02.405766
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/17/image_16062025_14_17_54_10055.jpg', 2), ('/mnt/data/16062025/14/17/image_16062025_14_17_44_10028.jpg', 2), ('/mnt/data/16062025/14/17/image_16062025_14_17_34_9959.jpg', 2), ('/mnt/data/16062025/14/17/image_16062025_14_17_24_9974.jpg', 2), ('/mnt/data/16062025/14/17/image_16062025_14_17_14_9968.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_17_04_10126.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/17/image_16062025_14_17_54_10055.jpg', '/mnt/data/16062025/14/17/image_16062025_14_17_44_10028.jpg', '/mnt/data/16062025/14/17/image_16062025_14_17_34_9959.jpg', '/mnt/data/16062025/14/17/image_16062025_14_17_24_9974.jpg', '/mnt/data/16062025/14/17/image_16062025_14_17_14_9968.jpg', '/mnt/data/16062025/14/16/image_16062025_14_17_04_10126.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/17/image_16062025_14_17_54_10055.jpg', '/mnt/data/16062025/14/17/image_16062025_14_17_44_10028.jpg', '/mnt/data/16062025/14/17/image_16062025_14_17_34_9959.jpg', '/mnt/data/16062025/14/17/image_16062025_14_17_24_9974.jpg', '/mnt/data/16062025/14/17/image_16062025_14_17_14_9968.jpg', '/mnt/data/16062025/14/16/image_16062025_14_17_04_10126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/17/image_16062025_14_17_54_10055.jpg
/mnt/data/16062025/14/17/image_16062025_14_17_44_10028.jpg
/mnt/data/16062025/14/17/image_16062025_14_17_34_9959.jpg
/mnt/data/16062025/14/17/image_16062025_14_17_24_9974.jpg
/mnt/data/16062025/14/17/image_16062025_14_17_14_9968.jpg
/mnt/data/16062025/14/16/image_16062025_14_17_04_10126.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376484388","1376484382","1376484378","1376484392","1376484395","1376484398"],"photo_ids_order":["1376484378","1376484382","1376484388","1376484392","1376484395","1376484398"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bb3fec6c2067550e439932041ad7d53e.jpg","text":"TemporaryFile(/tmp/multipartBody1083907487179594365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934917154,"filename":"image_16062025_14_17_34_9959.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/30a57e081f80f1d5df85c0e49f8edd1c.jpg","text":"TemporaryFile(/tmp/multipartBody8273273848667251192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934917154,"filename":"image_16062025_14_17_44_10028.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1d11f54c197070d54685a9e552c8d7a6.jpg","text":"TemporaryFile(/tmp/multipartBody231174901184241662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934917154,"filename":"image_16062025_14_17_54_10055.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ef9dceb7c55e1781161947794584bd28.jpg","text":"TemporaryFile(/tmp/multipartBody98323262926376769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934917154,"filename":"image_16062025_14_17_24_9974.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/944b1b1e73fe68fec04eae78b6e53782.jpg","text":"TemporaryFile(/tmp/multipartBody3066026490393807339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934917154,"filename":"image_16062025_14_17_14_9968.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d1781833ac180b00af2ac9fbd30ffee6.jpg","text":"TemporaryFile(/tmp/multipartBody884506610971641865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754934917154,"filename":"image_16062025_14_17_04_10126.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376484388","file1":"1376484382","file0":"1376484378","file4":"1376484395","file5":"1376484398","file3":"1376484392"},"map_files_photo_id_array":[{"photo_id":"1376484398","filename":"file5"},{"photo_id":"1376484388","filename":"file2"},{"photo_id":"1376484395","filename":"file4"},{"photo_id":"1376484382","filename":"file1"},{"photo_id":"1376484378","filename":"file0"},{"photo_id":"1376484392","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376484388":["hashtag1","hashtag2"]},{"1376484382":["hashtag1","hashtag2"]},{"1376484378":["hashtag1","hashtag2"]},{"1376484392":["hashtag1","hashtag2"]},{"1376484395":["hashtag1","hashtag2"]},{"1376484398":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376484388, 1376484382, 1376484378, 1376484392, 1376484395, 1376484398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.86387825012207 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:55:02.745901
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/16/image_16062025_14_16_54_9976.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_16_44_9936.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_16_34_10018.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_16_24_9970.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_16_14_10031.jpg', 2), ('/mnt/data/16062025/14/15/image_16062025_14_16_04_9055.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/16/image_16062025_14_16_54_9976.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_44_9936.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_34_10018.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_24_9970.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_14_10031.jpg', '/mnt/data/16062025/14/15/image_16062025_14_16_04_9055.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/16/image_16062025_14_16_54_9976.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_44_9936.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_34_10018.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_24_9970.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_14_10031.jpg', '/mnt/data/16062025/14/15/image_16062025_14_16_04_9055.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/16/image_16062025_14_16_54_9976.jpg
/mnt/data/16062025/14/16/image_16062025_14_16_44_9936.jpg
/mnt/data/16062025/14/16/image_16062025_14_16_34_10018.jpg
/mnt/data/16062025/14/16/image_16062025_14_16_24_9970.jpg
/mnt/data/16062025/14/16/image_16062025_14_16_14_10031.jpg
/mnt/data/16062025/14/15/image_16062025_14_16_04_9055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 137.6918556690216 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 19:59:03.205367
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/16/image_16062025_14_16_54_9976.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_16_44_9936.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_16_34_10018.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_16_24_9970.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_16_14_10031.jpg', 2), ('/mnt/data/16062025/14/15/image_16062025_14_16_04_9055.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/16/image_16062025_14_16_54_9976.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_44_9936.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_34_10018.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_24_9970.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_14_10031.jpg', '/mnt/data/16062025/14/15/image_16062025_14_16_04_9055.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/16/image_16062025_14_16_54_9976.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_44_9936.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_34_10018.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_24_9970.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_14_10031.jpg', '/mnt/data/16062025/14/15/image_16062025_14_16_04_9055.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/16/image_16062025_14_16_54_9976.jpg
/mnt/data/16062025/14/16/image_16062025_14_16_44_9936.jpg
/mnt/data/16062025/14/16/image_16062025_14_16_34_10018.jpg
/mnt/data/16062025/14/16/image_16062025_14_16_24_9970.jpg
/mnt/data/16062025/14/16/image_16062025_14_16_14_10031.jpg
/mnt/data/16062025/14/15/image_16062025_14_16_04_9055.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376485498","1376485465","1376485534","1376485429","1376485395","1376485565"],"photo_ids_order":["1376485395","1376485429","1376485465","1376485498","1376485534","1376485565"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/644aa6e6d811876c430a2188f33eed54.jpg","text":"TemporaryFile(/tmp/multipartBody649289038711778966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935214366,"filename":"image_16062025_14_16_24_9970.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f64f561f3ca5e0a91ce170353a0a2d5b.jpg","text":"TemporaryFile(/tmp/multipartBody9097465897079404879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935214366,"filename":"image_16062025_14_16_34_10018.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bc174a8712f7d961035ceee891edffce.jpg","text":"TemporaryFile(/tmp/multipartBody8429066972142151572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935214366,"filename":"image_16062025_14_16_14_10031.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f7ddadfed9e1065d745a9c30aacdeb82.jpg","text":"TemporaryFile(/tmp/multipartBody1093496670660272557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935214366,"filename":"image_16062025_14_16_44_9936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5beb1dd3ae0154b5077a87a6fa740a94.jpg","text":"TemporaryFile(/tmp/multipartBody9125551425871503718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935214366,"filename":"image_16062025_14_16_54_9976.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b8ef5642755d9858151650602dfcc819.jpg","text":"TemporaryFile(/tmp/multipartBody4696606424083917843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935214366,"filename":"image_16062025_14_16_04_9055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376485465","file1":"1376485429","file0":"1376485395","file4":"1376485534","file5":"1376485565","file3":"1376485498"},"map_files_photo_id_array":[{"photo_id":"1376485565","filename":"file5"},{"photo_id":"1376485465","filename":"file2"},{"photo_id":"1376485534","filename":"file4"},{"photo_id":"1376485429","filename":"file1"},{"photo_id":"1376485395","filename":"file0"},{"photo_id":"1376485498","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376485498":["hashtag1","hashtag2"]},{"1376485465":["hashtag1","hashtag2"]},{"1376485534":["hashtag1","hashtag2"]},{"1376485429":["hashtag1","hashtag2"]},{"1376485395":["hashtag1","hashtag2"]},{"1376485565":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376485498, 1376485465, 1376485534, 1376485429, 1376485395, 1376485565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.94367241859436 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:00:02.898194
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/15/image_16062025_14_15_55_10009.jpg', 2), ('/mnt/data/16062025/14/15/image_16062025_14_15_45_10137.jpg', 2), ('/mnt/data/16062025/14/15/image_16062025_14_15_35_10134.jpg', 2), ('/mnt/data/16062025/14/15/image_16062025_14_15_14_10148.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_15_04_9206.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_55_10110.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/15/image_16062025_14_15_55_10009.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_45_10137.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_35_10134.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_14_10148.jpg', '/mnt/data/16062025/14/14/image_16062025_14_15_04_9206.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_55_10110.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/15/image_16062025_14_15_55_10009.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_45_10137.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_35_10134.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_14_10148.jpg', '/mnt/data/16062025/14/14/image_16062025_14_15_04_9206.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_55_10110.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/15/image_16062025_14_15_55_10009.jpg
/mnt/data/16062025/14/15/image_16062025_14_15_45_10137.jpg
/mnt/data/16062025/14/15/image_16062025_14_15_35_10134.jpg
/mnt/data/16062025/14/15/image_16062025_14_15_14_10148.jpg
/mnt/data/16062025/14/14/image_16062025_14_15_04_9206.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_55_10110.jpg
uploaded 0 photos
time to upload: 30.374066829681396 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:01:03.722560
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/15/image_16062025_14_15_55_10009.jpg', 2), ('/mnt/data/16062025/14/15/image_16062025_14_15_45_10137.jpg', 2), ('/mnt/data/16062025/14/15/image_16062025_14_15_35_10134.jpg', 2), ('/mnt/data/16062025/14/15/image_16062025_14_15_14_10148.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_15_04_9206.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_55_10110.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/15/image_16062025_14_15_55_10009.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_45_10137.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_35_10134.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_14_10148.jpg', '/mnt/data/16062025/14/14/image_16062025_14_15_04_9206.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_55_10110.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/15/image_16062025_14_15_55_10009.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_45_10137.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_35_10134.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_14_10148.jpg', '/mnt/data/16062025/14/14/image_16062025_14_15_04_9206.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_55_10110.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/15/image_16062025_14_15_55_10009.jpg
/mnt/data/16062025/14/15/image_16062025_14_15_45_10137.jpg
/mnt/data/16062025/14/15/image_16062025_14_15_35_10134.jpg
/mnt/data/16062025/14/15/image_16062025_14_15_14_10148.jpg
/mnt/data/16062025/14/14/image_16062025_14_15_04_9206.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_55_10110.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376486803","1376486573","1376486738","1376486705","1376486770","1376486671"],"photo_ids_order":["1376486573","1376486671","1376486705","1376486738","1376486770","1376486803"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/76b80d7d30868630c138aafc5495a093.jpg","text":"TemporaryFile(/tmp/multipartBody126947914136941037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935338068,"filename":"image_16062025_14_14_55_10110.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1e7d89480879013736a46d78057f7005.jpg","text":"TemporaryFile(/tmp/multipartBody7279917873533962998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935338068,"filename":"image_16062025_14_15_55_10009.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2546e1a3c3d3379fc32a5bffaf54c92a.jpg","text":"TemporaryFile(/tmp/multipartBody8858649973634291791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935338068,"filename":"image_16062025_14_15_14_10148.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/aadfe3b0a4aac2eae93d7b28c00ee43f.jpg","text":"TemporaryFile(/tmp/multipartBody7574035022223556583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935338068,"filename":"image_16062025_14_15_35_10134.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/df35daee4c728702b2d4691a489595b9.jpg","text":"TemporaryFile(/tmp/multipartBody1786453226844707659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935338068,"filename":"image_16062025_14_15_04_9206.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e3b5dc1f2b920f74111d645f0fdebd9c.jpg","text":"TemporaryFile(/tmp/multipartBody2144017893562822015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935338068,"filename":"image_16062025_14_15_45_10137.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376486705","file1":"1376486671","file0":"1376486573","file4":"1376486770","file5":"1376486803","file3":"1376486738"},"map_files_photo_id_array":[{"photo_id":"1376486803","filename":"file5"},{"photo_id":"1376486705","filename":"file2"},{"photo_id":"1376486770","filename":"file4"},{"photo_id":"1376486671","filename":"file1"},{"photo_id":"1376486573","filename":"file0"},{"photo_id":"1376486738","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376486803":["hashtag1","hashtag2"]},{"1376486573":["hashtag1","hashtag2"]},{"1376486738":["hashtag1","hashtag2"]},{"1376486705":["hashtag1","hashtag2"]},{"1376486770":["hashtag1","hashtag2"]},{"1376486671":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376486803, 1376486573, 1376486738, 1376486705, 1376486770, 1376486671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.194077253341675 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:02:03.227459
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg', '/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg', '/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg
/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 147.24638748168945 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:05:02.716141
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg', '/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg', '/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg
/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg
uploaded 0 photos
time to upload: 30.349629402160645 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:06:02.698254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg', '/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg', '/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg
/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376488004","1376487991","1376487985","1376487994","1376487988","1376487981"],"photo_ids_order":["1376487981","1376487985","1376487988","1376487991","1376487994","1376488004"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7230fd8f359d7344b8eddc6935ec8fac.jpg","text":"TemporaryFile(/tmp/multipartBody61204365257127679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935647067,"filename":"image_16062025_14_13_54_8989.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8f764a08ebd765f59231e2626075b6fa.jpg","text":"TemporaryFile(/tmp/multipartBody8782643319886720643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935647067,"filename":"image_16062025_14_14_14_10218.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ba15484d8a1bf01420811fd2ec271b64.jpg","text":"TemporaryFile(/tmp/multipartBody8076962495766506054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935647067,"filename":"image_16062025_14_14_35_10190.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0fd387b91e2c89217f7148c8062d485c.jpg","text":"TemporaryFile(/tmp/multipartBody904616028094252320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935647067,"filename":"image_16062025_14_14_04_10455.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cbeb144eb39790c54a9121e1244cd4fb.jpg","text":"TemporaryFile(/tmp/multipartBody7202421941169310294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935647067,"filename":"image_16062025_14_14_24_9970.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/22f85dc894f400b9afe9baba2406ec9b.jpg","text":"TemporaryFile(/tmp/multipartBody6765363472470892081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935647067,"filename":"image_16062025_14_14_45_10013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376487988","file1":"1376487985","file0":"1376487981","file4":"1376487994","file5":"1376488004","file3":"1376487991"},"map_files_photo_id_array":[{"photo_id":"1376488004","filename":"file5"},{"photo_id":"1376487988","filename":"file2"},{"photo_id":"1376487994","filename":"file4"},{"photo_id":"1376487985","filename":"file1"},{"photo_id":"1376487981","filename":"file0"},{"photo_id":"1376487991","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376488004":["hashtag1","hashtag2"]},{"1376487991":["hashtag1","hashtag2"]},{"1376487985":["hashtag1","hashtag2"]},{"1376487994":["hashtag1","hashtag2"]},{"1376487988":["hashtag1","hashtag2"]},{"1376487981":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376488004, 1376487991, 1376487985, 1376487994, 1376487988, 1376487981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.35373520851135 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:08:03.108640
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg', '/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg', '/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg
/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg
uploaded 0 photos
time to upload: 30.3840012550354 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:09:03.146357
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg', '/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg', '/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg
/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg
uploaded 0 photos
time to upload: 30.33752942085266 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:10:02.827463
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg', '/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg', '/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg
/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376488187","1376488238","1376488220","1376488260","1376488242","1376488167"],"photo_ids_order":["1376488167","1376488187","1376488220","1376488238","1376488242","1376488260"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b2a59d71d177a18e051e0eee6532cc7d.jpg","text":"TemporaryFile(/tmp/multipartBody5455997891780511624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935887525,"filename":"image_16062025_14_13_35_9935.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b036344b43b8a4b97e1f85ecc84c50a0.jpg","text":"TemporaryFile(/tmp/multipartBody1257724388586046007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935887525,"filename":"image_16062025_14_13_15_10284.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e695b5949b16fb9039b449cb502b6fb5.jpg","text":"TemporaryFile(/tmp/multipartBody5906695276083459294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935887525,"filename":"image_16062025_14_13_25_10142.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/18d315d593ddc7114fe34804ce42910e.jpg","text":"TemporaryFile(/tmp/multipartBody4399448554709263300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935887525,"filename":"image_16062025_14_12_54_10000.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/39880ec17b1fb6e1a2178222e8a9b5c6.jpg","text":"TemporaryFile(/tmp/multipartBody9000829169882890390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935887525,"filename":"image_16062025_14_13_04_10580.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d906ac0405dcce0128581f22b6fa52b9.jpg","text":"TemporaryFile(/tmp/multipartBody991368319672408682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754935887525,"filename":"image_16062025_14_13_45_10167.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376488220","file1":"1376488187","file0":"1376488167","file4":"1376488242","file5":"1376488260","file3":"1376488238"},"map_files_photo_id_array":[{"photo_id":"1376488260","filename":"file5"},{"photo_id":"1376488220","filename":"file2"},{"photo_id":"1376488242","filename":"file4"},{"photo_id":"1376488187","filename":"file1"},{"photo_id":"1376488167","filename":"file0"},{"photo_id":"1376488238","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376488187":["hashtag1","hashtag2"]},{"1376488238":["hashtag1","hashtag2"]},{"1376488220":["hashtag1","hashtag2"]},{"1376488260":["hashtag1","hashtag2"]},{"1376488242":["hashtag1","hashtag2"]},{"1376488167":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376488187, 1376488238, 1376488220, 1376488260, 1376488242, 1376488167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.4306046962738 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:12:02.430292
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg', '/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg', '/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg
/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg
/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg
uploaded 0 photos
time to upload: 30.39364504814148 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:13:03.436019
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg', '/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg', '/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg
/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg
/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg
uploaded 0 photos
time to upload: 30.341615200042725 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:14:03.244849
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg', '/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg', '/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg
/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg
/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376488478","1376488462","1376488465","1376488473","1376488476","1376488470"],"photo_ids_order":["1376488462","1376488465","1376488470","1376488473","1376488476","1376488478"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1dd5c6c19b666a14a67f2e5813fc6fc4.jpg","text":"TemporaryFile(/tmp/multipartBody7328341569962822169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936133762,"filename":"image_16062025_14_11_54_10188.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/88ba40bed0201f8e31cd8838f81916b7.jpg","text":"TemporaryFile(/tmp/multipartBody580170284968834890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936133762,"filename":"image_16062025_14_12_44_8951.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2ac10ad9332c8ae712ef0736c0d275bc.jpg","text":"TemporaryFile(/tmp/multipartBody3744584585664302381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936133762,"filename":"image_16062025_14_12_35_11120.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7d56bca74bff68633cc03c91b54074d0.jpg","text":"TemporaryFile(/tmp/multipartBody2182627547534829609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936133762,"filename":"image_16062025_14_12_15_10218.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7ea59629a0f81f92b41f20bc2d598dc9.jpg","text":"TemporaryFile(/tmp/multipartBody269763812239476637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936133762,"filename":"image_16062025_14_12_05_10442.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ceaf0d51e85380fb5f5236fdd8bef731.jpg","text":"TemporaryFile(/tmp/multipartBody5620626341036046148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936133762,"filename":"image_16062025_14_12_24_8929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376488470","file1":"1376488465","file0":"1376488462","file4":"1376488476","file5":"1376488478","file3":"1376488473"},"map_files_photo_id_array":[{"photo_id":"1376488478","filename":"file5"},{"photo_id":"1376488470","filename":"file2"},{"photo_id":"1376488476","filename":"file4"},{"photo_id":"1376488465","filename":"file1"},{"photo_id":"1376488462","filename":"file0"},{"photo_id":"1376488473","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376488478":["hashtag1","hashtag2"]},{"1376488462":["hashtag1","hashtag2"]},{"1376488465":["hashtag1","hashtag2"]},{"1376488473":["hashtag1","hashtag2"]},{"1376488476":["hashtag1","hashtag2"]},{"1376488470":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376488478, 1376488462, 1376488465, 1376488473, 1376488476, 1376488470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.97346806526184 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:16:02.507106
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/11/image_16062025_14_11_44_9980.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_11_34_9973.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_11_24_9957.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_11_14_9958.jpg', 2), ('/mnt/data/16062025/14/10/image_16062025_14_11_04_10140.jpg', 2), ('/mnt/data/16062025/14/10/image_16062025_14_10_54_9968.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/11/image_16062025_14_11_44_9980.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_34_9973.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_24_9957.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_14_9958.jpg', '/mnt/data/16062025/14/10/image_16062025_14_11_04_10140.jpg', '/mnt/data/16062025/14/10/image_16062025_14_10_54_9968.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/11/image_16062025_14_11_44_9980.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_34_9973.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_24_9957.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_14_9958.jpg', '/mnt/data/16062025/14/10/image_16062025_14_11_04_10140.jpg', '/mnt/data/16062025/14/10/image_16062025_14_10_54_9968.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/11/image_16062025_14_11_44_9980.jpg
/mnt/data/16062025/14/11/image_16062025_14_11_34_9973.jpg
/mnt/data/16062025/14/11/image_16062025_14_11_24_9957.jpg
/mnt/data/16062025/14/11/image_16062025_14_11_14_9958.jpg
/mnt/data/16062025/14/10/image_16062025_14_11_04_10140.jpg
/mnt/data/16062025/14/10/image_16062025_14_10_54_9968.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376488583","1376488574","1376488576","1376488585","1376488578","1376488581"],"photo_ids_order":["1376488574","1376488576","1376488578","1376488581","1376488583","1376488585"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/343db468f54aa5dd26b1dc8c5ee3ad56.jpg","text":"TemporaryFile(/tmp/multipartBody1314032825854218799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936252694,"filename":"image_16062025_14_11_04_10140.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/06704f0a9d0f2a83545de9430fcd7f35.jpg","text":"TemporaryFile(/tmp/multipartBody6991685982875961659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936252694,"filename":"image_16062025_14_11_44_9980.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c3a6d4ba81a3ee64db19bec7a742ba26.jpg","text":"TemporaryFile(/tmp/multipartBody3276292466075253875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936252694,"filename":"image_16062025_14_11_34_9973.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/232dee74154a233db7a22da1e3bdeb12.jpg","text":"TemporaryFile(/tmp/multipartBody7639577577934676327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936252694,"filename":"image_16062025_14_10_54_9968.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a4894b55763fc08fdc9fa613eb8bd697.jpg","text":"TemporaryFile(/tmp/multipartBody6870462505032654293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936252694,"filename":"image_16062025_14_11_24_9957.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/578869db9604fd4cd18788a6dbcf89d2.jpg","text":"TemporaryFile(/tmp/multipartBody6933260356006013009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936252694,"filename":"image_16062025_14_11_14_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376488578","file1":"1376488576","file0":"1376488574","file4":"1376488583","file5":"1376488585","file3":"1376488581"},"map_files_photo_id_array":[{"photo_id":"1376488585","filename":"file5"},{"photo_id":"1376488578","filename":"file2"},{"photo_id":"1376488583","filename":"file4"},{"photo_id":"1376488576","filename":"file1"},{"photo_id":"1376488574","filename":"file0"},{"photo_id":"1376488581","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376488583":["hashtag1","hashtag2"]},{"1376488574":["hashtag1","hashtag2"]},{"1376488576":["hashtag1","hashtag2"]},{"1376488585":["hashtag1","hashtag2"]},{"1376488578":["hashtag1","hashtag2"]},{"1376488581":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376488583, 1376488574, 1376488576, 1376488585, 1376488578, 1376488581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.91116666793823 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:18:02.924821
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/10/image_16062025_14_10_44_9957.jpg', 2), ('/mnt/data/16062025/14/10/image_16062025_14_10_34_9977.jpg', 2), ('/mnt/data/16062025/14/10/image_16062025_14_10_24_9955.jpg', 2), ('/mnt/data/16062025/14/10/image_16062025_14_10_14_10104.jpg', 2), ('/mnt/data/16062025/14/06/image_16062025_14_06_25_9972.jpg', 2), ('/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/10/image_16062025_14_10_44_9957.jpg', '/mnt/data/16062025/14/10/image_16062025_14_10_34_9977.jpg', '/mnt/data/16062025/14/10/image_16062025_14_10_24_9955.jpg', '/mnt/data/16062025/14/10/image_16062025_14_10_14_10104.jpg', '/mnt/data/16062025/14/06/image_16062025_14_06_25_9972.jpg', '/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/10/image_16062025_14_10_44_9957.jpg', '/mnt/data/16062025/14/10/image_16062025_14_10_34_9977.jpg', '/mnt/data/16062025/14/10/image_16062025_14_10_24_9955.jpg', '/mnt/data/16062025/14/10/image_16062025_14_10_14_10104.jpg', '/mnt/data/16062025/14/06/image_16062025_14_06_25_9972.jpg', '/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/10/image_16062025_14_10_44_9957.jpg
/mnt/data/16062025/14/10/image_16062025_14_10_34_9977.jpg
/mnt/data/16062025/14/10/image_16062025_14_10_24_9955.jpg
/mnt/data/16062025/14/10/image_16062025_14_10_14_10104.jpg
/mnt/data/16062025/14/06/image_16062025_14_06_25_9972.jpg
/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376488824","1376488834","1376488828","1376488831","1376488825","1376488872"],"photo_ids_order":["1376488824","1376488825","1376488828","1376488831","1376488834","1376488872"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/68fee2c17f7b3d4557fceab86b99f4cf.jpg","text":"TemporaryFile(/tmp/multipartBody5938632584183453906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936354215,"filename":"image_16062025_14_10_44_9957.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ea7efa5b9ee8fb854a12bd87f71f7325.jpg","text":"TemporaryFile(/tmp/multipartBody8849814437609571978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936354215,"filename":"image_16062025_14_06_25_9972.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f156456e3e0934a54c953a54509d2bc6.jpg","text":"TemporaryFile(/tmp/multipartBody8126429784673538558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936354215,"filename":"image_16062025_14_10_24_9955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9cd642da19f0557505dff2b76237154e.jpg","text":"TemporaryFile(/tmp/multipartBody8272992285466961200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936354215,"filename":"image_16062025_14_10_14_10104.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b12102ba801bca01a54e5743b3a423c2.jpg","text":"TemporaryFile(/tmp/multipartBody1865309198268351802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936354215,"filename":"image_16062025_14_10_34_9977.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/69a9e83f0174a5f43cda5b89c594e32a.jpg","text":"TemporaryFile(/tmp/multipartBody8187046595868118005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936354215,"filename":"image_16062025_14_06_15_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376488828","file1":"1376488825","file0":"1376488824","file4":"1376488834","file5":"1376488872","file3":"1376488831"},"map_files_photo_id_array":[{"photo_id":"1376488872","filename":"file5"},{"photo_id":"1376488828","filename":"file2"},{"photo_id":"1376488834","filename":"file4"},{"photo_id":"1376488825","filename":"file1"},{"photo_id":"1376488824","filename":"file0"},{"photo_id":"1376488831","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376488824":["hashtag1","hashtag2"]},{"1376488834":["hashtag1","hashtag2"]},{"1376488828":["hashtag1","hashtag2"]},{"1376488831":["hashtag1","hashtag2"]},{"1376488825":["hashtag1","hashtag2"]},{"1376488872":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376488824, 1376488834, 1376488828, 1376488831, 1376488825, 1376488872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.58536458015442 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:19:02.884075
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_14_10250.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_14_10250.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_14_10250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_14_10250.jpg
uploaded 0 photos
time to upload: 30.416526317596436 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:20:02.460486
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_14_10250.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_14_10250.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_14_10250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_14_10250.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376489074","1376489037","1376489145","1376489109","1376489001","1376488968"],"photo_ids_order":["1376488968","1376489001","1376489037","1376489074","1376489109","1376489145"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/afdfd6be11099babc6667b95de1a9ed1.jpg","text":"TemporaryFile(/tmp/multipartBody168499313275499895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936483854,"filename":"image_16062025_14_05_35_10172.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dd52f8d8671cf857f853d07307174ce5.jpg","text":"TemporaryFile(/tmp/multipartBody4700784576321164199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936483854,"filename":"image_16062025_14_05_45_10037.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/550a35bcf0884c5d66115a01cf9f76b6.jpg","text":"TemporaryFile(/tmp/multipartBody4817133739716845199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936483854,"filename":"image_16062025_14_05_14_10250.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/569a3e99e1b7276b29077da0db6dbeaa.jpg","text":"TemporaryFile(/tmp/multipartBody4730827830751414554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936483854,"filename":"image_16062025_14_05_24_10349.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8831a395eda0e0e2265cbd46d3bffbde.jpg","text":"TemporaryFile(/tmp/multipartBody8754619116872305814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936483854,"filename":"image_16062025_14_05_55_9969.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b5623edc2929a8b50969265a273a2759.jpg","text":"TemporaryFile(/tmp/multipartBody5629345365202097306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754936483854,"filename":"image_16062025_14_06_05_10059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376489037","file1":"1376489001","file0":"1376488968","file4":"1376489109","file5":"1376489145","file3":"1376489074"},"map_files_photo_id_array":[{"photo_id":"1376489145","filename":"file5"},{"photo_id":"1376489037","filename":"file2"},{"photo_id":"1376489109","filename":"file4"},{"photo_id":"1376489001","filename":"file1"},{"photo_id":"1376488968","filename":"file0"},{"photo_id":"1376489074","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376489074":["hashtag1","hashtag2"]},{"1376489037":["hashtag1","hashtag2"]},{"1376489145":["hashtag1","hashtag2"]},{"1376489109":["hashtag1","hashtag2"]},{"1376489001":["hashtag1","hashtag2"]},{"1376488968":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376489074, 1376489037, 1376489145, 1376489109, 1376489001, 1376488968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.2146532535553 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:22:02.730214
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 144.05573868751526 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:25:02.955623
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
uploaded 0 photos
time to upload: 30.335708618164062 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:26:02.940224
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
uploaded 0 photos
time to upload: 30.32438588142395 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:27:03.033743
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:29:03.495503
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
uploaded 0 photos
time to upload: 30.297799110412598 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:30:02.997273
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 144.56703090667725 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:33:02.968780
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
uploaded 0 photos
time to upload: 30.327956676483154 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:34:02.968309
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
uploaded 0 photos
time to upload: 30.292503356933594 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:35:02.759118
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
uploaded 0 photos
time to upload: 30.348756313323975 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:36:02.561459
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
uploaded 0 photos
time to upload: 30.296716928482056 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:37:03.684045
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
uploaded 0 photos
time to upload: 16.62437129020691 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:38:03.115768
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
uploaded 0 photos
time to upload: 30.316778659820557 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:39:03.536538
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
uploaded 0 photos
time to upload: 30.29184126853943 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:40:02.968873
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
uploaded 0 photos
time to upload: 30.327719688415527 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:41:03.016586
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376490149","1376490140","1376490134","1376490143","1376490137","1376490168"],"photo_ids_order":["1376490134","1376490137","1376490140","1376490143","1376490149","1376490168"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/01ce2cb1252d918fb741f45f84378277.jpg","text":"TemporaryFile(/tmp/multipartBody3348467662895940103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754937739145,"filename":"image_16062025_14_04_24_10185.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cffb5bb3c8952a758f8ddb0952ccfa01.jpg","text":"TemporaryFile(/tmp/multipartBody1349976487309966240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754937739145,"filename":"image_16062025_14_04_44_10285.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/17518fe3c46ef3eaa6da66f96ed47506.jpg","text":"TemporaryFile(/tmp/multipartBody2782623335634233082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754937739145,"filename":"image_16062025_14_05_04_9427.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/20ef72b6caae62585742d4b190773d06.jpg","text":"TemporaryFile(/tmp/multipartBody7850074246626993074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754937739145,"filename":"image_16062025_14_04_34_10094.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1d500d74d099804fe9d7aaba649e7fbc.jpg","text":"TemporaryFile(/tmp/multipartBody1899362453935630569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754937739145,"filename":"image_16062025_14_04_54_10184.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/214a70b5c41cd4f1a752cd06b7257324.jpg","text":"TemporaryFile(/tmp/multipartBody7667574089323807279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754937739145,"filename":"image_16062025_14_04_14_8950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376490140","file1":"1376490137","file0":"1376490134","file4":"1376490149","file5":"1376490168","file3":"1376490143"},"map_files_photo_id_array":[{"photo_id":"1376490168","filename":"file5"},{"photo_id":"1376490140","filename":"file2"},{"photo_id":"1376490149","filename":"file4"},{"photo_id":"1376490137","filename":"file1"},{"photo_id":"1376490134","filename":"file0"},{"photo_id":"1376490143","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376490149":["hashtag1","hashtag2"]},{"1376490140":["hashtag1","hashtag2"]},{"1376490134":["hashtag1","hashtag2"]},{"1376490143":["hashtag1","hashtag2"]},{"1376490137":["hashtag1","hashtag2"]},{"1376490168":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376490149, 1376490140, 1376490134, 1376490143, 1376490137, 1376490168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.84062361717224 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:42:02.735935
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 145.4457290172577 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:45:02.528515
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg
uploaded 0 photos
time to upload: 30.30439305305481 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:46:03.177734
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 148.16786861419678 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:49:03.068917
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 127.44115209579468 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:52:02.806540
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376490549","1376490566","1376490569","1376490554","1376490557","1376490561"],"photo_ids_order":["1376490549","1376490554","1376490557","1376490561","1376490566","1376490569"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/84a22eab2f256aa5aeda6759901fdca1.jpg","text":"TemporaryFile(/tmp/multipartBody1876871477675246791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754938408571,"filename":"image_16062025_14_04_05_10651.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/96e1c758610fac318927238c3c080c94.jpg","text":"TemporaryFile(/tmp/multipartBody4591969008538412785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754938408571,"filename":"image_16062025_14_03_25_10202.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0d9da293db3e9c27a7a4422ff87249f0.jpg","text":"TemporaryFile(/tmp/multipartBody7152891354743832881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754938408571,"filename":"image_16062025_14_03_14_10204.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fa161df3fe2930e17cbde36f1652a4b1.jpg","text":"TemporaryFile(/tmp/multipartBody8234015827233144322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754938408571,"filename":"image_16062025_14_03_54_10176.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/254a9c12c2e46f39b0fb720f5bb303c5.jpg","text":"TemporaryFile(/tmp/multipartBody5857953927319787342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754938408571,"filename":"image_16062025_14_03_44_9062.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d0e621ba1b53e4786369cb460626baad.jpg","text":"TemporaryFile(/tmp/multipartBody118442814232898662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754938408571,"filename":"image_16062025_14_03_35_10196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376490557","file1":"1376490554","file0":"1376490549","file4":"1376490566","file5":"1376490569","file3":"1376490561"},"map_files_photo_id_array":[{"photo_id":"1376490569","filename":"file5"},{"photo_id":"1376490557","filename":"file2"},{"photo_id":"1376490566","filename":"file4"},{"photo_id":"1376490554","filename":"file1"},{"photo_id":"1376490549","filename":"file0"},{"photo_id":"1376490561","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376490549":["hashtag1","hashtag2"]},{"1376490566":["hashtag1","hashtag2"]},{"1376490569":["hashtag1","hashtag2"]},{"1376490554":["hashtag1","hashtag2"]},{"1376490557":["hashtag1","hashtag2"]},{"1376490561":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376490549, 1376490566, 1376490569, 1376490554, 1376490557, 1376490561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.06973433494568 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:54:02.981170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 149.56480765342712 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:57:03.342500
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg
uploaded 0 photos
time to upload: 30.31366777420044 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 20:59:02.945345
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg
uploaded 0 photos
time to upload: 30.33880043029785 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:00:02.610205
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg
uploaded 0 photos
time to upload: 30.30562734603882 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:01:02.477329
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg
uploaded 0 photos
time to upload: 30.394468069076538 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:02:03.372487
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg
uploaded 0 photos
time to upload: 30.300334692001343 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:03:03.281604
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg
uploaded 0 photos
time to upload: 30.32724618911743 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:04:03.402998
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg
uploaded 0 photos
time to upload: 30.30531406402588 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:05:03.442005
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 146.39255094528198 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:08:03.045659
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg
uploaded 0 photos
time to upload: 30.2996187210083 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:09:03.322259
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376493772","1376493712","1376493718","1376493750","1376493740","1376493713"],"photo_ids_order":["1376493712","1376493713","1376493718","1376493740","1376493750","1376493772"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5eef2a139fe5a66eaeb4fd7a12fa7e97.jpg","text":"TemporaryFile(/tmp/multipartBody1569962851058355114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939433810,"filename":"image_16062025_14_02_14_10135.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f866f5fd2e61455526adebd32fbc232d.jpg","text":"TemporaryFile(/tmp/multipartBody2644999141441173870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939433810,"filename":"image_16062025_14_03_04_10478.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b77d69d7aebe7f74233d1a6a65eb725f.jpg","text":"TemporaryFile(/tmp/multipartBody5068272959255561139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939433810,"filename":"image_16062025_14_02_45_11183.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3ae330d31a4783c4e01d06a146fa9da2.jpg","text":"TemporaryFile(/tmp/multipartBody3826253993074331799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939433810,"filename":"image_16062025_14_02_25_10180.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cb4690063def6dc59de78f20bd877505.jpg","text":"TemporaryFile(/tmp/multipartBody7413042299165450592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939433810,"filename":"image_16062025_14_02_34_9014.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/15ad0687e81a6e2f57935c20a09e3d52.jpg","text":"TemporaryFile(/tmp/multipartBody4720417885134490590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939433810,"filename":"image_16062025_14_02_54_8895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376493718","file1":"1376493713","file0":"1376493712","file4":"1376493750","file5":"1376493772","file3":"1376493740"},"map_files_photo_id_array":[{"photo_id":"1376493772","filename":"file5"},{"photo_id":"1376493718","filename":"file2"},{"photo_id":"1376493750","filename":"file4"},{"photo_id":"1376493713","filename":"file1"},{"photo_id":"1376493712","filename":"file0"},{"photo_id":"1376493740","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376493772":["hashtag1","hashtag2"]},{"1376493712":["hashtag1","hashtag2"]},{"1376493718":["hashtag1","hashtag2"]},{"1376493750":["hashtag1","hashtag2"]},{"1376493740":["hashtag1","hashtag2"]},{"1376493713":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376493772, 1376493712, 1376493718, 1376493750, 1376493740, 1376493713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.44875049591064 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:11:02.709140
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg
uploaded 0 photos
time to upload: 30.395397186279297 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:12:02.595688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg
uploaded 0 photos
time to upload: 30.293385982513428 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:13:03.253605
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376494222","1376494225","1376494230","1376494232","1376494231","1376494228"],"photo_ids_order":["1376494222","1376494225","1376494228","1376494230","1376494231","1376494232"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/17d8d509e9ae2db8f1b577589aed752d.jpg","text":"TemporaryFile(/tmp/multipartBody478092211972555102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939669401,"filename":"image_16062025_14_02_04_10456.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/65b7f32646f2757be8188a29761aae23.jpg","text":"TemporaryFile(/tmp/multipartBody3216767567951667668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939669401,"filename":"image_16062025_14_01_54_10194.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d73a6ff3c74c004c373208ead66676ea.jpg","text":"TemporaryFile(/tmp/multipartBody860326771110041237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939669401,"filename":"image_16062025_14_01_35_10141.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5a6bf087873addf79d8b590d4eeff4bf.jpg","text":"TemporaryFile(/tmp/multipartBody761157293633493697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939669401,"filename":"image_16062025_14_01_14_10092.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d936708ae5c136409c363cc7ba9e379e.jpg","text":"TemporaryFile(/tmp/multipartBody1411596581848585723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939669401,"filename":"image_16062025_14_01_25_10160.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/dcd9248d1ba30a5ad36b8d70051d2e67.jpg","text":"TemporaryFile(/tmp/multipartBody2112133275684264854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939669401,"filename":"image_16062025_14_01_44_8932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376494228","file1":"1376494225","file0":"1376494222","file4":"1376494231","file5":"1376494232","file3":"1376494230"},"map_files_photo_id_array":[{"photo_id":"1376494232","filename":"file5"},{"photo_id":"1376494228","filename":"file2"},{"photo_id":"1376494231","filename":"file4"},{"photo_id":"1376494225","filename":"file1"},{"photo_id":"1376494222","filename":"file0"},{"photo_id":"1376494230","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376494222":["hashtag1","hashtag2"]},{"1376494225":["hashtag1","hashtag2"]},{"1376494230":["hashtag1","hashtag2"]},{"1376494232":["hashtag1","hashtag2"]},{"1376494231":["hashtag1","hashtag2"]},{"1376494228":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376494222, 1376494225, 1376494230, 1376494232, 1376494231, 1376494228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.67899084091187 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:15:02.999475
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/00/image_16062025_14_01_04_10236.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_54_10165.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_44_10165.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_34_10073.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_24_8900.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_15_10141.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/00/image_16062025_14_01_04_10236.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_54_10165.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_44_10165.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_34_10073.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_24_8900.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_15_10141.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/00/image_16062025_14_01_04_10236.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_54_10165.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_44_10165.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_34_10073.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_24_8900.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_15_10141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/00/image_16062025_14_01_04_10236.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_54_10165.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_44_10165.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_34_10073.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_24_8900.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_15_10141.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 143.57781100273132 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:18:02.735107
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/00/image_16062025_14_01_04_10236.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_54_10165.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_44_10165.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_34_10073.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_24_8900.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_15_10141.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/14/00/image_16062025_14_01_04_10236.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_54_10165.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_44_10165.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_34_10073.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_24_8900.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_15_10141.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/14/00/image_16062025_14_01_04_10236.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_54_10165.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_44_10165.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_34_10073.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_24_8900.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_15_10141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/00/image_16062025_14_01_04_10236.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_54_10165.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_44_10165.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_34_10073.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_24_8900.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_15_10141.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376495191","1376495194","1376495188","1376495182","1376495158","1376495184"],"photo_ids_order":["1376495158","1376495182","1376495184","1376495188","1376495191","1376495194"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0bf1bfb91e21ba1e5234f204570e89c8.jpg","text":"TemporaryFile(/tmp/multipartBody3056354853035844714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939965131,"filename":"image_16062025_14_00_24_8900.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/77ca0a3b643235c7c579a73127e7e086.jpg","text":"TemporaryFile(/tmp/multipartBody3651643230178431055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939965131,"filename":"image_16062025_14_00_15_10141.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ae76bd5665060365c8cf245ccc89a65b.jpg","text":"TemporaryFile(/tmp/multipartBody4065346861950710600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939965131,"filename":"image_16062025_14_00_34_10073.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/251ad4fc4e5877e10d62ef85b460598d.jpg","text":"TemporaryFile(/tmp/multipartBody6282000972123481376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939965131,"filename":"image_16062025_14_00_54_10165.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0f303a9cb98912e6f942c2e0483edb1c.jpg","text":"TemporaryFile(/tmp/multipartBody3348587639774563575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939965131,"filename":"image_16062025_14_01_04_10236.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e9d45cad729792edf3e408a293d154ad.jpg","text":"TemporaryFile(/tmp/multipartBody1200174043998393736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754939965131,"filename":"image_16062025_14_00_44_10165.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376495184","file1":"1376495182","file0":"1376495158","file4":"1376495191","file5":"1376495194","file3":"1376495188"},"map_files_photo_id_array":[{"photo_id":"1376495194","filename":"file5"},{"photo_id":"1376495184","filename":"file2"},{"photo_id":"1376495191","filename":"file4"},{"photo_id":"1376495182","filename":"file1"},{"photo_id":"1376495158","filename":"file0"},{"photo_id":"1376495188","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376495191":["hashtag1","hashtag2"]},{"1376495194":["hashtag1","hashtag2"]},{"1376495188":["hashtag1","hashtag2"]},{"1376495182":["hashtag1","hashtag2"]},{"1376495158":["hashtag1","hashtag2"]},{"1376495184":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376495191, 1376495194, 1376495188, 1376495182, 1376495158, 1376495184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.9823694229126 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:20:03.289542
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/59/image_16062025_14_00_05_10511.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_54_10083.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_44_10103.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_34_10064.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_24_10012.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_14_9971.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/59/image_16062025_14_00_05_10511.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_54_10083.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_44_10103.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_34_10064.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_24_10012.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_14_9971.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/59/image_16062025_14_00_05_10511.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_54_10083.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_44_10103.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_34_10064.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_24_10012.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_14_9971.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/59/image_16062025_14_00_05_10511.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_54_10083.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_44_10103.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_34_10064.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_24_10012.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_14_9971.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 24.470645904541016 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:21:03.203758
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/59/image_16062025_14_00_05_10511.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_54_10083.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_44_10103.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_34_10064.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_24_10012.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_14_9971.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/59/image_16062025_14_00_05_10511.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_54_10083.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_44_10103.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_34_10064.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_24_10012.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_14_9971.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/59/image_16062025_14_00_05_10511.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_54_10083.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_44_10103.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_34_10064.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_24_10012.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_14_9971.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/59/image_16062025_14_00_05_10511.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_54_10083.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_44_10103.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_34_10064.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_24_10012.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_14_9971.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376495268","1376495253","1376495288","1376495290","1376495275","1376495257"],"photo_ids_order":["1376495253","1376495257","1376495268","1376495275","1376495288","1376495290"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2c49291d958b2f19fd666c9b46fde657.jpg","text":"TemporaryFile(/tmp/multipartBody4949900705752001232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940138710,"filename":"image_16062025_13_59_44_10103.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6d318abc48fe0d0af3afc6498afa924c.jpg","text":"TemporaryFile(/tmp/multipartBody8754242393636666202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940138710,"filename":"image_16062025_14_00_05_10511.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6083ce92adc582ff265d46ebee530794.jpg","text":"TemporaryFile(/tmp/multipartBody1211178556022681866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940138710,"filename":"image_16062025_13_59_24_10012.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a4106185a3216679578e68d2b1df01be.jpg","text":"TemporaryFile(/tmp/multipartBody5026066960251705172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940138710,"filename":"image_16062025_13_59_14_9971.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a3116b7921b3170f635cc36d86545344.jpg","text":"TemporaryFile(/tmp/multipartBody8254694187227341461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940138710,"filename":"image_16062025_13_59_34_10064.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2cc177b288bf87f38f5c9984cdfeb900.jpg","text":"TemporaryFile(/tmp/multipartBody7095722806182915245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940138710,"filename":"image_16062025_13_59_54_10083.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376495268","file1":"1376495257","file0":"1376495253","file4":"1376495288","file5":"1376495290","file3":"1376495275"},"map_files_photo_id_array":[{"photo_id":"1376495290","filename":"file5"},{"photo_id":"1376495268","filename":"file2"},{"photo_id":"1376495288","filename":"file4"},{"photo_id":"1376495257","filename":"file1"},{"photo_id":"1376495253","filename":"file0"},{"photo_id":"1376495275","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376495268":["hashtag1","hashtag2"]},{"1376495253":["hashtag1","hashtag2"]},{"1376495288":["hashtag1","hashtag2"]},{"1376495290":["hashtag1","hashtag2"]},{"1376495275":["hashtag1","hashtag2"]},{"1376495257":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376495268, 1376495253, 1376495288, 1376495290, 1376495275, 1376495257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.20089149475098 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:22:03.112697
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_58_44_9910.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_58_34_9958.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_58_14_9956.jpg', 2), ('/mnt/data/16062025/13/55/image_16062025_13_55_44_9961.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_44_9910.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_34_9958.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_14_9956.jpg', '/mnt/data/16062025/13/55/image_16062025_13_55_44_9961.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_44_9910.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_34_9958.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_14_9956.jpg', '/mnt/data/16062025/13/55/image_16062025_13_55_44_9961.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg
/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg
/mnt/data/16062025/13/58/image_16062025_13_58_44_9910.jpg
/mnt/data/16062025/13/58/image_16062025_13_58_34_9958.jpg
/mnt/data/16062025/13/58/image_16062025_13_58_14_9956.jpg
/mnt/data/16062025/13/55/image_16062025_13_55_44_9961.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 129.30926322937012 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:25:02.545255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_58_44_9910.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_58_34_9958.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_58_14_9956.jpg', 2), ('/mnt/data/16062025/13/55/image_16062025_13_55_44_9961.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_44_9910.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_34_9958.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_14_9956.jpg', '/mnt/data/16062025/13/55/image_16062025_13_55_44_9961.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_44_9910.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_34_9958.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_14_9956.jpg', '/mnt/data/16062025/13/55/image_16062025_13_55_44_9961.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg
/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg
/mnt/data/16062025/13/58/image_16062025_13_58_44_9910.jpg
/mnt/data/16062025/13/58/image_16062025_13_58_34_9958.jpg
/mnt/data/16062025/13/58/image_16062025_13_58_14_9956.jpg
/mnt/data/16062025/13/55/image_16062025_13_55_44_9961.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 133.404851436615 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:28:02.568716
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_58_44_9910.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_58_34_9958.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_58_14_9956.jpg', 2), ('/mnt/data/16062025/13/55/image_16062025_13_55_44_9961.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_44_9910.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_34_9958.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_14_9956.jpg', '/mnt/data/16062025/13/55/image_16062025_13_55_44_9961.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_44_9910.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_34_9958.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_14_9956.jpg', '/mnt/data/16062025/13/55/image_16062025_13_55_44_9961.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg
/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg
/mnt/data/16062025/13/58/image_16062025_13_58_44_9910.jpg
/mnt/data/16062025/13/58/image_16062025_13_58_34_9958.jpg
/mnt/data/16062025/13/58/image_16062025_13_58_14_9956.jpg
/mnt/data/16062025/13/55/image_16062025_13_55_44_9961.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376495776","1376495779","1376495770","1376495764","1376495773","1376495767"],"photo_ids_order":["1376495764","1376495767","1376495770","1376495773","1376495776","1376495779"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/091262665927425d589ac17e0d293f2c.jpg","text":"TemporaryFile(/tmp/multipartBody3566628531407395312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940550714,"filename":"image_16062025_13_58_14_9956.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4f4ef2278fe7ef2d92b63e5fab29b104.jpg","text":"TemporaryFile(/tmp/multipartBody4493469382026040085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940550714,"filename":"image_16062025_13_55_44_9961.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/929f007b83dd129514905fd401700422.jpg","text":"TemporaryFile(/tmp/multipartBody7469820853975861404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940550714,"filename":"image_16062025_13_58_44_9910.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7d64cc82a81a526aabf9b044691a41a8.jpg","text":"TemporaryFile(/tmp/multipartBody8073716950059903682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940550714,"filename":"image_16062025_13_59_04_9964.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c94d3d8397c0602b0efce8f3b590f992.jpg","text":"TemporaryFile(/tmp/multipartBody4832072736295204347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940550714,"filename":"image_16062025_13_58_34_9958.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2f44e7ee70a9f49a87c04dd7f6cc3c13.jpg","text":"TemporaryFile(/tmp/multipartBody5058185387415429007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940550714,"filename":"image_16062025_13_58_54_9933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376495770","file1":"1376495767","file0":"1376495764","file4":"1376495776","file5":"1376495779","file3":"1376495773"},"map_files_photo_id_array":[{"photo_id":"1376495779","filename":"file5"},{"photo_id":"1376495770","filename":"file2"},{"photo_id":"1376495776","filename":"file4"},{"photo_id":"1376495767","filename":"file1"},{"photo_id":"1376495764","filename":"file0"},{"photo_id":"1376495773","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376495776":["hashtag1","hashtag2"]},{"1376495779":["hashtag1","hashtag2"]},{"1376495770":["hashtag1","hashtag2"]},{"1376495764":["hashtag1","hashtag2"]},{"1376495773":["hashtag1","hashtag2"]},{"1376495767":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376495776, 1376495779, 1376495770, 1376495764, 1376495773, 1376495767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.83928084373474 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:29:03.345624
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/55/image_16062025_13_55_14_9996.jpg', 2), ('/mnt/data/16062025/13/53/image_16062025_13_53_14_9994.jpg', 2), ('/mnt/data/16062025/13/52/image_16062025_13_52_34_9954.jpg', 2), ('/mnt/data/16062025/13/51/image_16062025_13_52_04_10316.jpg', 2), ('/mnt/data/16062025/13/51/image_16062025_13_51_24_10026.jpg', 2), ('/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/55/image_16062025_13_55_14_9996.jpg', '/mnt/data/16062025/13/53/image_16062025_13_53_14_9994.jpg', '/mnt/data/16062025/13/52/image_16062025_13_52_34_9954.jpg', '/mnt/data/16062025/13/51/image_16062025_13_52_04_10316.jpg', '/mnt/data/16062025/13/51/image_16062025_13_51_24_10026.jpg', '/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/55/image_16062025_13_55_14_9996.jpg', '/mnt/data/16062025/13/53/image_16062025_13_53_14_9994.jpg', '/mnt/data/16062025/13/52/image_16062025_13_52_34_9954.jpg', '/mnt/data/16062025/13/51/image_16062025_13_52_04_10316.jpg', '/mnt/data/16062025/13/51/image_16062025_13_51_24_10026.jpg', '/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/55/image_16062025_13_55_14_9996.jpg
/mnt/data/16062025/13/53/image_16062025_13_53_14_9994.jpg
/mnt/data/16062025/13/52/image_16062025_13_52_34_9954.jpg
/mnt/data/16062025/13/51/image_16062025_13_52_04_10316.jpg
/mnt/data/16062025/13/51/image_16062025_13_51_24_10026.jpg
/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376495805","1376495808","1376495798","1376495795","1376495801","1376495793"],"photo_ids_order":["1376495793","1376495795","1376495798","1376495801","1376495805","1376495808"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c88c4eef4ec6185024044dfc345b36f9.jpg","text":"TemporaryFile(/tmp/multipartBody2936620913202982649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940617494,"filename":"image_16062025_13_51_24_10026.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/285deeacf58fdb27d2d2246fb9db2e8f.jpg","text":"TemporaryFile(/tmp/multipartBody3829776924864530222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940617494,"filename":"image_16062025_13_50_15_9981.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/241f34fc53c0a4ce480601a3534cc738.jpg","text":"TemporaryFile(/tmp/multipartBody2148084090450196439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940617494,"filename":"image_16062025_13_52_34_9954.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5a28cdfb278ed934f3939c9918757a6e.jpg","text":"TemporaryFile(/tmp/multipartBody2828213368075087964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940617494,"filename":"image_16062025_13_53_14_9994.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bc6bd2e053c555e401416aaa36839f82.jpg","text":"TemporaryFile(/tmp/multipartBody748926443531348685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940617494,"filename":"image_16062025_13_52_04_10316.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b349bfd2a4725a04dafa595043fd8c30.jpg","text":"TemporaryFile(/tmp/multipartBody7008603857986557811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940617494,"filename":"image_16062025_13_55_14_9996.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376495798","file1":"1376495795","file0":"1376495793","file4":"1376495805","file5":"1376495808","file3":"1376495801"},"map_files_photo_id_array":[{"photo_id":"1376495808","filename":"file5"},{"photo_id":"1376495798","filename":"file2"},{"photo_id":"1376495805","filename":"file4"},{"photo_id":"1376495795","filename":"file1"},{"photo_id":"1376495793","filename":"file0"},{"photo_id":"1376495801","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376495805":["hashtag1","hashtag2"]},{"1376495808":["hashtag1","hashtag2"]},{"1376495798":["hashtag1","hashtag2"]},{"1376495795":["hashtag1","hashtag2"]},{"1376495801":["hashtag1","hashtag2"]},{"1376495793":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376495805, 1376495808, 1376495798, 1376495795, 1376495801, 1376495793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.609326124191284 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:30:02.868736
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_15_10171.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_15_10171.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_15_10171.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_15_10171.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376495829","1376495845","1376495839","1376495833","1376495827","1376495836"],"photo_ids_order":["1376495827","1376495829","1376495833","1376495836","1376495839","1376495845"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/12a761e462557f8369c2ecaf2bf3839c.jpg","text":"TemporaryFile(/tmp/multipartBody1290846315267410371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940675403,"filename":"image_16062025_13_49_55_9910.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6474680234e27349a97913792b834786.jpg","text":"TemporaryFile(/tmp/multipartBody4910619959290943201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940675403,"filename":"image_16062025_13_49_15_10171.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4daadb0ed70ae584761dddb8cbf6bbf5.jpg","text":"TemporaryFile(/tmp/multipartBody3670638590243617154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940675403,"filename":"image_16062025_13_49_25_10131.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/872a8bd3ed5880fbb752b293e1f11f27.jpg","text":"TemporaryFile(/tmp/multipartBody7511912754526222563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940675403,"filename":"image_16062025_13_49_45_9968.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b8045b6d888afb6a9eda3e4b7e0b95c0.jpg","text":"TemporaryFile(/tmp/multipartBody7729298032948871231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940675403,"filename":"image_16062025_13_50_05_10190.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9421008483eb07934e49bc0df0cce976.jpg","text":"TemporaryFile(/tmp/multipartBody2402362778207858900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754940675403,"filename":"image_16062025_13_49_35_10006.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376495833","file1":"1376495829","file0":"1376495827","file4":"1376495839","file5":"1376495845","file3":"1376495836"},"map_files_photo_id_array":[{"photo_id":"1376495845","filename":"file5"},{"photo_id":"1376495833","filename":"file2"},{"photo_id":"1376495839","filename":"file4"},{"photo_id":"1376495829","filename":"file1"},{"photo_id":"1376495827","filename":"file0"},{"photo_id":"1376495836","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376495829":["hashtag1","hashtag2"]},{"1376495845":["hashtag1","hashtag2"]},{"1376495839":["hashtag1","hashtag2"]},{"1376495833":["hashtag1","hashtag2"]},{"1376495827":["hashtag1","hashtag2"]},{"1376495836":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376495829, 1376495845, 1376495839, 1376495833, 1376495827, 1376495836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.04741835594177 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:31:02.714637
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg
uploaded 0 photos
time to upload: 30.40594744682312 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:32:02.953217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 150.09263825416565 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:35:03.460630
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 131.68895530700684 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:38:02.480273
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg
uploaded 0 photos
time to upload: 30.320195198059082 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:39:03.539619
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_44_10020.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_34_9067.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_25_10107.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_15_10113.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376496364","1376496355","1376496360","1376496357","1376496366","1376496354"],"photo_ids_order":["1376496354","1376496355","1376496357","1376496360","1376496364","1376496366"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d3a386322aec7cbd8d21bf9759b21d3a.jpg","text":"TemporaryFile(/tmp/multipartBody1810639136771971019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941211743,"filename":"image_16062025_13_48_25_10107.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c2fa067a88bddfe4fe3b2fef78774f77.jpg","text":"TemporaryFile(/tmp/multipartBody8847997993903938222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941211743,"filename":"image_16062025_13_48_54_10170.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6a2bb3a99824022b7666f0a3cc75e412.jpg","text":"TemporaryFile(/tmp/multipartBody4742493909592274364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941211743,"filename":"image_16062025_13_48_34_9067.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/07e6c2eff917f4495d1cfdbb06e1ac9c.jpg","text":"TemporaryFile(/tmp/multipartBody7094421576634469903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941211743,"filename":"image_16062025_13_48_44_10020.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/00dc1de9df15727258664b6997214688.jpg","text":"TemporaryFile(/tmp/multipartBody3159837442177988312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941211743,"filename":"image_16062025_13_48_15_10113.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6af14848194d6eddc4d27258e847d893.jpg","text":"TemporaryFile(/tmp/multipartBody2683315054653252422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941211743,"filename":"image_16062025_13_49_04_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376496357","file1":"1376496355","file0":"1376496354","file4":"1376496364","file5":"1376496366","file3":"1376496360"},"map_files_photo_id_array":[{"photo_id":"1376496366","filename":"file5"},{"photo_id":"1376496357","filename":"file2"},{"photo_id":"1376496364","filename":"file4"},{"photo_id":"1376496355","filename":"file1"},{"photo_id":"1376496354","filename":"file0"},{"photo_id":"1376496360","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376496364":["hashtag1","hashtag2"]},{"1376496355":["hashtag1","hashtag2"]},{"1376496360":["hashtag1","hashtag2"]},{"1376496357":["hashtag1","hashtag2"]},{"1376496366":["hashtag1","hashtag2"]},{"1376496354":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376496364, 1376496355, 1376496360, 1376496357, 1376496366, 1376496354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.87063527107239 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:40:03.491987
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/47/image_16062025_13_48_04_10496.jpg', 2), ('/mnt/data/16062025/13/47/image_16062025_13_47_54_10140.jpg', 2), ('/mnt/data/16062025/13/47/image_16062025_13_47_44_10106.jpg', 2), ('/mnt/data/16062025/13/47/image_16062025_13_47_34_10047.jpg', 2), ('/mnt/data/16062025/13/47/image_16062025_13_47_24_9941.jpg', 2), ('/mnt/data/16062025/13/47/image_16062025_13_47_14_9927.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/47/image_16062025_13_48_04_10496.jpg', '/mnt/data/16062025/13/47/image_16062025_13_47_54_10140.jpg', '/mnt/data/16062025/13/47/image_16062025_13_47_44_10106.jpg', '/mnt/data/16062025/13/47/image_16062025_13_47_34_10047.jpg', '/mnt/data/16062025/13/47/image_16062025_13_47_24_9941.jpg', '/mnt/data/16062025/13/47/image_16062025_13_47_14_9927.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/47/image_16062025_13_48_04_10496.jpg', '/mnt/data/16062025/13/47/image_16062025_13_47_54_10140.jpg', '/mnt/data/16062025/13/47/image_16062025_13_47_44_10106.jpg', '/mnt/data/16062025/13/47/image_16062025_13_47_34_10047.jpg', '/mnt/data/16062025/13/47/image_16062025_13_47_24_9941.jpg', '/mnt/data/16062025/13/47/image_16062025_13_47_14_9927.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/47/image_16062025_13_48_04_10496.jpg
/mnt/data/16062025/13/47/image_16062025_13_47_54_10140.jpg
/mnt/data/16062025/13/47/image_16062025_13_47_44_10106.jpg
/mnt/data/16062025/13/47/image_16062025_13_47_34_10047.jpg
/mnt/data/16062025/13/47/image_16062025_13_47_24_9941.jpg
/mnt/data/16062025/13/47/image_16062025_13_47_14_9927.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376496569","1376496557","1376496565","1376496526","1376496514","1376496502"],"photo_ids_order":["1376496502","1376496514","1376496526","1376496557","1376496565","1376496569"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/61b648ce22e0f0ef5d04f068add8b97b.jpg","text":"TemporaryFile(/tmp/multipartBody9221980472282216277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941286589,"filename":"image_16062025_13_47_14_9927.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/71ded157f7dacfeb8ad1a890f359938e.jpg","text":"TemporaryFile(/tmp/multipartBody3671563571224641535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941286589,"filename":"image_16062025_13_47_34_10047.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/88bc158960aa6d35ee01c0b2ac5ed86f.jpg","text":"TemporaryFile(/tmp/multipartBody9221689991305334932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941286589,"filename":"image_16062025_13_47_24_9941.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b753a17b99d992a764f228c99003b8a4.jpg","text":"TemporaryFile(/tmp/multipartBody470583895617912532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941286589,"filename":"image_16062025_13_47_44_10106.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2980c14f94cebe650b21dc06cb252dc4.jpg","text":"TemporaryFile(/tmp/multipartBody1711947329839404098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941286589,"filename":"image_16062025_13_47_54_10140.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f1bccd8d1ef5ec0a0423fd42c73dba08.jpg","text":"TemporaryFile(/tmp/multipartBody9203926340323586420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941286589,"filename":"image_16062025_13_48_04_10496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376496526","file1":"1376496514","file0":"1376496502","file4":"1376496565","file5":"1376496569","file3":"1376496557"},"map_files_photo_id_array":[{"photo_id":"1376496569","filename":"file5"},{"photo_id":"1376496526","filename":"file2"},{"photo_id":"1376496565","filename":"file4"},{"photo_id":"1376496514","filename":"file1"},{"photo_id":"1376496502","filename":"file0"},{"photo_id":"1376496557","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376496569":["hashtag1","hashtag2"]},{"1376496557":["hashtag1","hashtag2"]},{"1376496565":["hashtag1","hashtag2"]},{"1376496526":["hashtag1","hashtag2"]},{"1376496514":["hashtag1","hashtag2"]},{"1376496502":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376496569, 1376496557, 1376496565, 1376496526, 1376496514, 1376496502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.995261430740356 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:42:02.684178
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/46/image_16062025_13_47_04_8964.jpg', 2), ('/mnt/data/16062025/13/46/image_16062025_13_46_55_11113.jpg', 2), ('/mnt/data/16062025/13/46/image_16062025_13_46_44_9920.jpg', 2), ('/mnt/data/16062025/13/46/image_16062025_13_46_34_9944.jpg', 2), ('/mnt/data/16062025/13/46/image_16062025_13_46_24_9947.jpg', 2), ('/mnt/data/16062025/13/46/image_16062025_13_46_14_9932.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/46/image_16062025_13_47_04_8964.jpg', '/mnt/data/16062025/13/46/image_16062025_13_46_55_11113.jpg', '/mnt/data/16062025/13/46/image_16062025_13_46_44_9920.jpg', '/mnt/data/16062025/13/46/image_16062025_13_46_34_9944.jpg', '/mnt/data/16062025/13/46/image_16062025_13_46_24_9947.jpg', '/mnt/data/16062025/13/46/image_16062025_13_46_14_9932.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/46/image_16062025_13_47_04_8964.jpg', '/mnt/data/16062025/13/46/image_16062025_13_46_55_11113.jpg', '/mnt/data/16062025/13/46/image_16062025_13_46_44_9920.jpg', '/mnt/data/16062025/13/46/image_16062025_13_46_34_9944.jpg', '/mnt/data/16062025/13/46/image_16062025_13_46_24_9947.jpg', '/mnt/data/16062025/13/46/image_16062025_13_46_14_9932.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/46/image_16062025_13_47_04_8964.jpg
/mnt/data/16062025/13/46/image_16062025_13_46_55_11113.jpg
/mnt/data/16062025/13/46/image_16062025_13_46_44_9920.jpg
/mnt/data/16062025/13/46/image_16062025_13_46_34_9944.jpg
/mnt/data/16062025/13/46/image_16062025_13_46_24_9947.jpg
/mnt/data/16062025/13/46/image_16062025_13_46_14_9932.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376496705","1376496695","1376496708","1376496697","1376496699","1376496702"],"photo_ids_order":["1376496695","1376496697","1376496699","1376496702","1376496705","1376496708"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c255414c53aaee00c8e978ebe94c8555.jpg","text":"TemporaryFile(/tmp/multipartBody7104576934691188055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941388923,"filename":"image_16062025_13_46_24_9947.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b5defb9c6501ba525e085a016fb4728a.jpg","text":"TemporaryFile(/tmp/multipartBody5114262252103447801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941388923,"filename":"image_16062025_13_47_04_8964.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2cb33b410df6dcef136534615cd654d1.jpg","text":"TemporaryFile(/tmp/multipartBody139078486436964109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941388923,"filename":"image_16062025_13_46_14_9932.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9c20f88ba4bf0995cf10e393121ac3ba.jpg","text":"TemporaryFile(/tmp/multipartBody4608419683313524450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941388923,"filename":"image_16062025_13_46_55_11113.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3d6c1c78a2374b7e7103794f690a2419.jpg","text":"TemporaryFile(/tmp/multipartBody5818810638929059143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941388923,"filename":"image_16062025_13_46_44_9920.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/db7e3dc3fe14363a6bc4792c54aca68f.jpg","text":"TemporaryFile(/tmp/multipartBody5944529216911198579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941388923,"filename":"image_16062025_13_46_34_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376496699","file1":"1376496697","file0":"1376496695","file4":"1376496705","file5":"1376496708","file3":"1376496702"},"map_files_photo_id_array":[{"photo_id":"1376496708","filename":"file5"},{"photo_id":"1376496699","filename":"file2"},{"photo_id":"1376496705","filename":"file4"},{"photo_id":"1376496697","filename":"file1"},{"photo_id":"1376496695","filename":"file0"},{"photo_id":"1376496702","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376496705":["hashtag1","hashtag2"]},{"1376496695":["hashtag1","hashtag2"]},{"1376496708":["hashtag1","hashtag2"]},{"1376496697":["hashtag1","hashtag2"]},{"1376496699":["hashtag1","hashtag2"]},{"1376496702":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376496705, 1376496695, 1376496708, 1376496697, 1376496699, 1376496702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.90903306007385 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:43:03.550306
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/45/image_16062025_13_46_04_10137.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_54_9951.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_44_9913.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_34_9937.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_24_9964.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_14_9936.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/45/image_16062025_13_46_04_10137.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_54_9951.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_44_9913.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_34_9937.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_24_9964.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_14_9936.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/45/image_16062025_13_46_04_10137.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_54_9951.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_44_9913.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_34_9937.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_24_9964.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_14_9936.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/45/image_16062025_13_46_04_10137.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_54_9951.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_44_9913.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_34_9937.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_24_9964.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_14_9936.jpg
uploaded 0 photos
time to upload: 30.382616996765137 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:44:03.290573
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/45/image_16062025_13_46_04_10137.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_54_9951.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_44_9913.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_34_9937.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_24_9964.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_14_9936.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/45/image_16062025_13_46_04_10137.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_54_9951.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_44_9913.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_34_9937.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_24_9964.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_14_9936.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/45/image_16062025_13_46_04_10137.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_54_9951.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_44_9913.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_34_9937.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_24_9964.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_14_9936.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/45/image_16062025_13_46_04_10137.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_54_9951.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_44_9913.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_34_9937.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_24_9964.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_14_9936.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376497052","1376497060","1376497048","1376497057","1376497021","1376497044"],"photo_ids_order":["1376497021","1376497044","1376497048","1376497052","1376497057","1376497060"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fd921872135cf8d9d534b1054e4dc42a.jpg","text":"TemporaryFile(/tmp/multipartBody7376673818273407225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941518962,"filename":"image_16062025_13_45_34_9937.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5897e0c2edfb44501ca710b1f929e485.jpg","text":"TemporaryFile(/tmp/multipartBody1874593443974813612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941518962,"filename":"image_16062025_13_45_14_9936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c0df5a01aae39d8808d9f167705dd7d3.jpg","text":"TemporaryFile(/tmp/multipartBody4178776236865438413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941518962,"filename":"image_16062025_13_45_44_9913.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2fdeca1fee1ea87c443693697c9c1336.jpg","text":"TemporaryFile(/tmp/multipartBody1906090385353765475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941518962,"filename":"image_16062025_13_45_24_9964.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5dbb0e7c9c61c5b8dad3f741d18f4529.jpg","text":"TemporaryFile(/tmp/multipartBody4119763372770109980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941518962,"filename":"image_16062025_13_46_04_10137.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/efa2f40056472418a3f7882d0b7150d0.jpg","text":"TemporaryFile(/tmp/multipartBody3644799012941373430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941518962,"filename":"image_16062025_13_45_54_9951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376497048","file1":"1376497044","file0":"1376497021","file4":"1376497057","file5":"1376497060","file3":"1376497052"},"map_files_photo_id_array":[{"photo_id":"1376497060","filename":"file5"},{"photo_id":"1376497048","filename":"file2"},{"photo_id":"1376497057","filename":"file4"},{"photo_id":"1376497044","filename":"file1"},{"photo_id":"1376497021","filename":"file0"},{"photo_id":"1376497052","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376497052":["hashtag1","hashtag2"]},{"1376497060":["hashtag1","hashtag2"]},{"1376497048":["hashtag1","hashtag2"]},{"1376497057":["hashtag1","hashtag2"]},{"1376497021":["hashtag1","hashtag2"]},{"1376497044":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376497052, 1376497060, 1376497048, 1376497057, 1376497021, 1376497044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.963765382766724 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:45:03.362447
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/44/image_16062025_13_45_04_10322.jpg', 2), ('/mnt/data/16062025/13/41/image_16062025_13_41_34_10143.jpg', 2), ('/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', 2), ('/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/44/image_16062025_13_45_04_10322.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_34_10143.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', '/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/44/image_16062025_13_45_04_10322.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_34_10143.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', '/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/44/image_16062025_13_45_04_10322.jpg
/mnt/data/16062025/13/41/image_16062025_13_41_34_10143.jpg
/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg
/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg
/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg
uploaded 0 photos
time to upload: 30.362423419952393 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:46:03.207686
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/44/image_16062025_13_45_04_10322.jpg', 2), ('/mnt/data/16062025/13/41/image_16062025_13_41_34_10143.jpg', 2), ('/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', 2), ('/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/44/image_16062025_13_45_04_10322.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_34_10143.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', '/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/44/image_16062025_13_45_04_10322.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_34_10143.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', '/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/44/image_16062025_13_45_04_10322.jpg
/mnt/data/16062025/13/41/image_16062025_13_41_34_10143.jpg
/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg
/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg
/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376497547","1376497616","1376497642","1376497705","1376497581","1376497496"],"photo_ids_order":["1376497496","1376497547","1376497581","1376497616","1376497642","1376497705"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d97de3e944b954329c9bba84ae9cca40.jpg","text":"TemporaryFile(/tmp/multipartBody2272702541845000897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941633500,"filename":"image_16062025_13_41_34_10143.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f430262c2f7abc21677a20231fa794e2.jpg","text":"TemporaryFile(/tmp/multipartBody3921897247361342247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941633500,"filename":"image_16062025_13_41_14_9916.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f62939da3442bb972cbbf4d57a716a95.jpg","text":"TemporaryFile(/tmp/multipartBody338422277951106756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941633500,"filename":"image_16062025_13_41_04_9949.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/63611ed0801221e519d0e2ce87f657fd.jpg","text":"TemporaryFile(/tmp/multipartBody5172195806324461602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941633500,"filename":"image_16062025_13_40_54_10024.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/34bc6172733b1764023dc2649904e5bc.jpg","text":"TemporaryFile(/tmp/multipartBody4197667273963832985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941633500,"filename":"image_16062025_13_41_24_9942.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f794227bd63704d12c81fe9a0dc7ada4.jpg","text":"TemporaryFile(/tmp/multipartBody5041238768482273693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941633500,"filename":"image_16062025_13_45_04_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376497581","file1":"1376497547","file0":"1376497496","file4":"1376497642","file5":"1376497705","file3":"1376497616"},"map_files_photo_id_array":[{"photo_id":"1376497705","filename":"file5"},{"photo_id":"1376497581","filename":"file2"},{"photo_id":"1376497642","filename":"file4"},{"photo_id":"1376497547","filename":"file1"},{"photo_id":"1376497496","filename":"file0"},{"photo_id":"1376497616","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376497547":["hashtag1","hashtag2"]},{"1376497616":["hashtag1","hashtag2"]},{"1376497642":["hashtag1","hashtag2"]},{"1376497705":["hashtag1","hashtag2"]},{"1376497581":["hashtag1","hashtag2"]},{"1376497496":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376497547, 1376497616, 1376497642, 1376497705, 1376497581, 1376497496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.44497632980347 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:47:03.058322
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_14_10070.jpg', 2), ('/mnt/data/16062025/13/39/image_16062025_13_40_04_9144.jpg', 2), ('/mnt/data/16062025/13/39/image_16062025_13_39_55_10019.jpg', 2), ('/mnt/data/16062025/13/39/image_16062025_13_39_34_10007.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_14_10070.jpg', '/mnt/data/16062025/13/39/image_16062025_13_40_04_9144.jpg', '/mnt/data/16062025/13/39/image_16062025_13_39_55_10019.jpg', '/mnt/data/16062025/13/39/image_16062025_13_39_34_10007.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_14_10070.jpg', '/mnt/data/16062025/13/39/image_16062025_13_40_04_9144.jpg', '/mnt/data/16062025/13/39/image_16062025_13_39_55_10019.jpg', '/mnt/data/16062025/13/39/image_16062025_13_39_34_10007.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_14_10070.jpg
/mnt/data/16062025/13/39/image_16062025_13_40_04_9144.jpg
/mnt/data/16062025/13/39/image_16062025_13_39_55_10019.jpg
/mnt/data/16062025/13/39/image_16062025_13_39_34_10007.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376497829","1376497913","1376497915","1376497893","1376497908","1376497880"],"photo_ids_order":["1376497829","1376497880","1376497893","1376497908","1376497913","1376497915"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/55ee0b702b52496da2460cb5d8d5e3c2.jpg","text":"TemporaryFile(/tmp/multipartBody3789665990722715592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941699344,"filename":"image_16062025_13_40_44_10133.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/425d155372ed496808546e8f563546f2.jpg","text":"TemporaryFile(/tmp/multipartBody5330742386664313067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941699344,"filename":"image_16062025_13_39_55_10019.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a2eed034e184a8016394ee223597a9c1.jpg","text":"TemporaryFile(/tmp/multipartBody2982733277883550953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941699344,"filename":"image_16062025_13_39_34_10007.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fb36da102686da0f761824f9c0011a62.jpg","text":"TemporaryFile(/tmp/multipartBody5096444066949929959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941699344,"filename":"image_16062025_13_40_14_10070.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9dde2210ee48e17d977ae24ff7ede1dc.jpg","text":"TemporaryFile(/tmp/multipartBody6918038265881959180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941699344,"filename":"image_16062025_13_40_04_9144.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a43b693c76d0c59fc89c9bd3008d2080.jpg","text":"TemporaryFile(/tmp/multipartBody5910507230563914513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941699344,"filename":"image_16062025_13_40_24_10082.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376497893","file1":"1376497880","file0":"1376497829","file4":"1376497913","file5":"1376497915","file3":"1376497908"},"map_files_photo_id_array":[{"photo_id":"1376497915","filename":"file5"},{"photo_id":"1376497893","filename":"file2"},{"photo_id":"1376497913","filename":"file4"},{"photo_id":"1376497880","filename":"file1"},{"photo_id":"1376497829","filename":"file0"},{"photo_id":"1376497908","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376497829":["hashtag1","hashtag2"]},{"1376497913":["hashtag1","hashtag2"]},{"1376497915":["hashtag1","hashtag2"]},{"1376497893":["hashtag1","hashtag2"]},{"1376497908":["hashtag1","hashtag2"]},{"1376497880":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376497829, 1376497913, 1376497915, 1376497893, 1376497908, 1376497880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.293084144592285 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:48:02.507694
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/39/image_16062025_13_39_24_9915.jpg', 2), ('/mnt/data/16062025/13/39/image_16062025_13_39_15_9919.jpg', 2), ('/mnt/data/16062025/13/38/image_16062025_13_39_05_10294.jpg', 2), ('/mnt/data/16062025/13/38/image_16062025_13_38_54_10024.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_37_54_9933.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/39/image_16062025_13_39_24_9915.jpg', '/mnt/data/16062025/13/39/image_16062025_13_39_15_9919.jpg', '/mnt/data/16062025/13/38/image_16062025_13_39_05_10294.jpg', '/mnt/data/16062025/13/38/image_16062025_13_38_54_10024.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_54_9933.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/39/image_16062025_13_39_24_9915.jpg', '/mnt/data/16062025/13/39/image_16062025_13_39_15_9919.jpg', '/mnt/data/16062025/13/38/image_16062025_13_39_05_10294.jpg', '/mnt/data/16062025/13/38/image_16062025_13_38_54_10024.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_54_9933.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/39/image_16062025_13_39_24_9915.jpg
/mnt/data/16062025/13/39/image_16062025_13_39_15_9919.jpg
/mnt/data/16062025/13/38/image_16062025_13_39_05_10294.jpg
/mnt/data/16062025/13/38/image_16062025_13_38_54_10024.jpg
/mnt/data/16062025/13/37/image_16062025_13_37_54_9933.jpg
/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 16.482014894485474 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:49:03.713317
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/39/image_16062025_13_39_24_9915.jpg', 2), ('/mnt/data/16062025/13/39/image_16062025_13_39_15_9919.jpg', 2), ('/mnt/data/16062025/13/38/image_16062025_13_39_05_10294.jpg', 2), ('/mnt/data/16062025/13/38/image_16062025_13_38_54_10024.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_37_54_9933.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/39/image_16062025_13_39_24_9915.jpg', '/mnt/data/16062025/13/39/image_16062025_13_39_15_9919.jpg', '/mnt/data/16062025/13/38/image_16062025_13_39_05_10294.jpg', '/mnt/data/16062025/13/38/image_16062025_13_38_54_10024.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_54_9933.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/39/image_16062025_13_39_24_9915.jpg', '/mnt/data/16062025/13/39/image_16062025_13_39_15_9919.jpg', '/mnt/data/16062025/13/38/image_16062025_13_39_05_10294.jpg', '/mnt/data/16062025/13/38/image_16062025_13_38_54_10024.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_54_9933.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/39/image_16062025_13_39_24_9915.jpg
/mnt/data/16062025/13/39/image_16062025_13_39_15_9919.jpg
/mnt/data/16062025/13/38/image_16062025_13_39_05_10294.jpg
/mnt/data/16062025/13/38/image_16062025_13_38_54_10024.jpg
/mnt/data/16062025/13/37/image_16062025_13_37_54_9933.jpg
/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 11.228990316390991 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:50:02.834839
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/39/image_16062025_13_39_24_9915.jpg', 2), ('/mnt/data/16062025/13/39/image_16062025_13_39_15_9919.jpg', 2), ('/mnt/data/16062025/13/38/image_16062025_13_39_05_10294.jpg', 2), ('/mnt/data/16062025/13/38/image_16062025_13_38_54_10024.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_37_54_9933.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/39/image_16062025_13_39_24_9915.jpg', '/mnt/data/16062025/13/39/image_16062025_13_39_15_9919.jpg', '/mnt/data/16062025/13/38/image_16062025_13_39_05_10294.jpg', '/mnt/data/16062025/13/38/image_16062025_13_38_54_10024.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_54_9933.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/39/image_16062025_13_39_24_9915.jpg', '/mnt/data/16062025/13/39/image_16062025_13_39_15_9919.jpg', '/mnt/data/16062025/13/38/image_16062025_13_39_05_10294.jpg', '/mnt/data/16062025/13/38/image_16062025_13_38_54_10024.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_54_9933.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/39/image_16062025_13_39_24_9915.jpg
/mnt/data/16062025/13/39/image_16062025_13_39_15_9919.jpg
/mnt/data/16062025/13/38/image_16062025_13_39_05_10294.jpg
/mnt/data/16062025/13/38/image_16062025_13_38_54_10024.jpg
/mnt/data/16062025/13/37/image_16062025_13_37_54_9933.jpg
/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376498309","1376498299","1376498374","1376498341","1376498305","1376498302"],"photo_ids_order":["1376498299","1376498302","1376498305","1376498309","1376498341","1376498374"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e3569dbf15efac73974cbe188bb70023.jpg","text":"TemporaryFile(/tmp/multipartBody138002201845242726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941882407,"filename":"image_16062025_13_38_54_10024.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3f1c119d242cc8c1d8bb8cbba2568434.jpg","text":"TemporaryFile(/tmp/multipartBody5000789453491417868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941882407,"filename":"image_16062025_13_39_24_9915.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0579b286c204e63bfa77cd09382110f5.jpg","text":"TemporaryFile(/tmp/multipartBody739389998172740385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941882407,"filename":"image_16062025_13_37_44_9942.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/50934d9c2067c1b69b63e68b764e7d39.jpg","text":"TemporaryFile(/tmp/multipartBody7798550218368113440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941882407,"filename":"image_16062025_13_37_54_9933.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/96303db0022fa69b5d818ca551213c71.jpg","text":"TemporaryFile(/tmp/multipartBody2212995716673549270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941882407,"filename":"image_16062025_13_39_05_10294.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/25de5ae871d84063c4d1e38d78c8e3bb.jpg","text":"TemporaryFile(/tmp/multipartBody2896275074833208949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941882407,"filename":"image_16062025_13_39_15_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376498305","file1":"1376498302","file0":"1376498299","file4":"1376498341","file5":"1376498374","file3":"1376498309"},"map_files_photo_id_array":[{"photo_id":"1376498374","filename":"file5"},{"photo_id":"1376498305","filename":"file2"},{"photo_id":"1376498341","filename":"file4"},{"photo_id":"1376498302","filename":"file1"},{"photo_id":"1376498299","filename":"file0"},{"photo_id":"1376498309","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376498309":["hashtag1","hashtag2"]},{"1376498299":["hashtag1","hashtag2"]},{"1376498374":["hashtag1","hashtag2"]},{"1376498341":["hashtag1","hashtag2"]},{"1376498305":["hashtag1","hashtag2"]},{"1376498302":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376498309, 1376498299, 1376498374, 1376498341, 1376498305, 1376498302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.801830768585205 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:51:02.801617
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/37/image_16062025_13_37_34_9955.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_37_24_9936.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_37_14_9941.jpg', 2), ('/mnt/data/16062025/13/36/image_16062025_13_37_04_10239.jpg', 2), ('/mnt/data/16062025/13/36/image_16062025_13_36_54_9955.jpg', 2), ('/mnt/data/16062025/13/36/image_16062025_13_36_44_9957.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/37/image_16062025_13_37_34_9955.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_24_9936.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_14_9941.jpg', '/mnt/data/16062025/13/36/image_16062025_13_37_04_10239.jpg', '/mnt/data/16062025/13/36/image_16062025_13_36_54_9955.jpg', '/mnt/data/16062025/13/36/image_16062025_13_36_44_9957.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/37/image_16062025_13_37_34_9955.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_24_9936.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_14_9941.jpg', '/mnt/data/16062025/13/36/image_16062025_13_37_04_10239.jpg', '/mnt/data/16062025/13/36/image_16062025_13_36_54_9955.jpg', '/mnt/data/16062025/13/36/image_16062025_13_36_44_9957.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/37/image_16062025_13_37_34_9955.jpg
/mnt/data/16062025/13/37/image_16062025_13_37_24_9936.jpg
/mnt/data/16062025/13/37/image_16062025_13_37_14_9941.jpg
/mnt/data/16062025/13/36/image_16062025_13_37_04_10239.jpg
/mnt/data/16062025/13/36/image_16062025_13_36_54_9955.jpg
/mnt/data/16062025/13/36/image_16062025_13_36_44_9957.jpg
uploaded 0 photos
time to upload: 3.538926124572754 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:52:02.359653
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/37/image_16062025_13_37_34_9955.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_37_24_9936.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_37_14_9941.jpg', 2), ('/mnt/data/16062025/13/36/image_16062025_13_37_04_10239.jpg', 2), ('/mnt/data/16062025/13/36/image_16062025_13_36_54_9955.jpg', 2), ('/mnt/data/16062025/13/36/image_16062025_13_36_44_9957.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/37/image_16062025_13_37_34_9955.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_24_9936.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_14_9941.jpg', '/mnt/data/16062025/13/36/image_16062025_13_37_04_10239.jpg', '/mnt/data/16062025/13/36/image_16062025_13_36_54_9955.jpg', '/mnt/data/16062025/13/36/image_16062025_13_36_44_9957.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/37/image_16062025_13_37_34_9955.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_24_9936.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_14_9941.jpg', '/mnt/data/16062025/13/36/image_16062025_13_37_04_10239.jpg', '/mnt/data/16062025/13/36/image_16062025_13_36_54_9955.jpg', '/mnt/data/16062025/13/36/image_16062025_13_36_44_9957.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/37/image_16062025_13_37_34_9955.jpg
/mnt/data/16062025/13/37/image_16062025_13_37_24_9936.jpg
/mnt/data/16062025/13/37/image_16062025_13_37_14_9941.jpg
/mnt/data/16062025/13/36/image_16062025_13_37_04_10239.jpg
/mnt/data/16062025/13/36/image_16062025_13_36_54_9955.jpg
/mnt/data/16062025/13/36/image_16062025_13_36_44_9957.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376498650","1376498769","1376498736","1376498637","1376498699","1376498780"],"photo_ids_order":["1376498637","1376498650","1376498699","1376498736","1376498769","1376498780"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/919075c89ac313e8623bf5fe897ef367.jpg","text":"TemporaryFile(/tmp/multipartBody1649754301767957134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941988945,"filename":"image_16062025_13_37_24_9936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e89b01df019bc4ee616f5893af9be27b.jpg","text":"TemporaryFile(/tmp/multipartBody1809793165357614849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941988945,"filename":"image_16062025_13_36_54_9955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fcfcaed552b5106a5260b3b64518c915.jpg","text":"TemporaryFile(/tmp/multipartBody1647723478238816512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941988945,"filename":"image_16062025_13_37_04_10239.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7a39921a27a00374be9db481a42498d4.jpg","text":"TemporaryFile(/tmp/multipartBody5502006787521858905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941988945,"filename":"image_16062025_13_37_34_9955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/56555a9f7b4421bc39a8f2ed90e6289d.jpg","text":"TemporaryFile(/tmp/multipartBody7428634770481502105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941988945,"filename":"image_16062025_13_37_14_9941.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7d170fdd886ad4561bdff5f00d79b508.jpg","text":"TemporaryFile(/tmp/multipartBody4521301050026916177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754941988945,"filename":"image_16062025_13_36_44_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376498699","file1":"1376498650","file0":"1376498637","file4":"1376498769","file5":"1376498780","file3":"1376498736"},"map_files_photo_id_array":[{"photo_id":"1376498780","filename":"file5"},{"photo_id":"1376498699","filename":"file2"},{"photo_id":"1376498769","filename":"file4"},{"photo_id":"1376498650","filename":"file1"},{"photo_id":"1376498637","filename":"file0"},{"photo_id":"1376498736","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376498650":["hashtag1","hashtag2"]},{"1376498769":["hashtag1","hashtag2"]},{"1376498736":["hashtag1","hashtag2"]},{"1376498637":["hashtag1","hashtag2"]},{"1376498699":["hashtag1","hashtag2"]},{"1376498780":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376498650, 1376498769, 1376498736, 1376498637, 1376498699, 1376498780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.305357933044434 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:53:03.563745
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/36/image_16062025_13_36_24_9972.jpg', 2), ('/mnt/data/16062025/13/33/image_16062025_13_33_25_10013.jpg', 2), ('/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', 2), ('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/10/image_16062025_13_10_14_10126.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/36/image_16062025_13_36_24_9972.jpg', '/mnt/data/16062025/13/33/image_16062025_13_33_25_10013.jpg', '/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', '/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/10/image_16062025_13_10_14_10126.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/36/image_16062025_13_36_24_9972.jpg', '/mnt/data/16062025/13/33/image_16062025_13_33_25_10013.jpg', '/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', '/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/10/image_16062025_13_10_14_10126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/36/image_16062025_13_36_24_9972.jpg
/mnt/data/16062025/13/33/image_16062025_13_33_25_10013.jpg
/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/10/image_16062025_13_10_14_10126.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376499163","1376499261","1376499264","1376499249","1376499216","1376499254"],"photo_ids_order":["1376499163","1376499216","1376499249","1376499254","1376499261","1376499264"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/136baba7a809a15419356349556df2e9.jpg","text":"TemporaryFile(/tmp/multipartBody7225983213543999183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942057838,"filename":"image_16062025_13_36_24_9972.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8e51cbfc49b90ac0d1fd079f3de6039c.jpg","text":"TemporaryFile(/tmp/multipartBody4300656935758546320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942057838,"filename":"image_16062025_13_12_15_10148.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/09efbea6c819426163084f1308f3eee0.jpg","text":"TemporaryFile(/tmp/multipartBody5436838074725390790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942057838,"filename":"image_16062025_13_10_14_10126.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1cd306985e39b6ed6e5f845edea0059e.jpg","text":"TemporaryFile(/tmp/multipartBody9072520489210591203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942057838,"filename":"image_16062025_13_30_34_10183.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2a03b502123cb9126aeb9888bd5d56eb.jpg","text":"TemporaryFile(/tmp/multipartBody555248005605655038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942057838,"filename":"image_16062025_13_33_25_10013.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e4e98e9650d1090eaf76e9e7569dea55.jpg","text":"TemporaryFile(/tmp/multipartBody6393849175430855756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942057838,"filename":"image_16062025_13_21_24_10183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376499249","file1":"1376499216","file0":"1376499163","file4":"1376499261","file5":"1376499264","file3":"1376499254"},"map_files_photo_id_array":[{"photo_id":"1376499264","filename":"file5"},{"photo_id":"1376499249","filename":"file2"},{"photo_id":"1376499261","filename":"file4"},{"photo_id":"1376499216","filename":"file1"},{"photo_id":"1376499163","filename":"file0"},{"photo_id":"1376499254","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376499163":["hashtag1","hashtag2"]},{"1376499261":["hashtag1","hashtag2"]},{"1376499264":["hashtag1","hashtag2"]},{"1376499249":["hashtag1","hashtag2"]},{"1376499216":["hashtag1","hashtag2"]},{"1376499254":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376499163, 1376499261, 1376499264, 1376499249, 1376499216, 1376499254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.68156433105469 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:54:03.084157
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', '/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', '/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376499289","1376499279","1376499293","1376499296","1376499275","1376499283"],"photo_ids_order":["1376499275","1376499279","1376499283","1376499289","1376499293","1376499296"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bab5405209c756b369d80f07cb416c6f.jpg","text":"TemporaryFile(/tmp/multipartBody4330332996926914275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942128098,"filename":"image_16062025_12_54_54_10005.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2a75a253cc54b7c2d41a725ae2e427ac.jpg","text":"TemporaryFile(/tmp/multipartBody4221934213387154736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942128098,"filename":"image_16062025_13_03_04_10372.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/302569d1bb6232ca64c48ceaf86586c3.jpg","text":"TemporaryFile(/tmp/multipartBody4106027293690333996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942128098,"filename":"image_16062025_12_53_24_9942.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/13dbb98f7b1bfbea628654fc4e57aea5.jpg","text":"TemporaryFile(/tmp/multipartBody7103595298388288937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942128098,"filename":"image_16062025_12_53_04_10106.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f6c0c87a4e9e2bc82d751a3f746e9141.jpg","text":"TemporaryFile(/tmp/multipartBody5248456315897665410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942128098,"filename":"image_16062025_13_10_04_9290.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/afd7d35d9293e8aeb83ed64b598f82c9.jpg","text":"TemporaryFile(/tmp/multipartBody7055453988831654481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942128098,"filename":"image_16062025_13_00_14_8847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376499283","file1":"1376499279","file0":"1376499275","file4":"1376499293","file5":"1376499296","file3":"1376499289"},"map_files_photo_id_array":[{"photo_id":"1376499296","filename":"file5"},{"photo_id":"1376499283","filename":"file2"},{"photo_id":"1376499293","filename":"file4"},{"photo_id":"1376499279","filename":"file1"},{"photo_id":"1376499275","filename":"file0"},{"photo_id":"1376499289","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376499289":["hashtag1","hashtag2"]},{"1376499279":["hashtag1","hashtag2"]},{"1376499293":["hashtag1","hashtag2"]},{"1376499296":["hashtag1","hashtag2"]},{"1376499275":["hashtag1","hashtag2"]},{"1376499283":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376499289, 1376499279, 1376499293, 1376499296, 1376499275, 1376499283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.51965236663818 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:56:02.440464
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', 2), ('/mnt/data/16062025/12/51/image_16062025_12_52_04_10242.jpg', 2), ('/mnt/data/16062025/12/51/image_16062025_12_51_54_10062.jpg', 2), ('/mnt/data/16062025/12/51/image_16062025_12_51_44_10206.jpg', 2), ('/mnt/data/16062025/12/51/image_16062025_12_51_15_10196.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', '/mnt/data/16062025/12/51/image_16062025_12_52_04_10242.jpg', '/mnt/data/16062025/12/51/image_16062025_12_51_54_10062.jpg', '/mnt/data/16062025/12/51/image_16062025_12_51_44_10206.jpg', '/mnt/data/16062025/12/51/image_16062025_12_51_15_10196.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', '/mnt/data/16062025/12/51/image_16062025_12_52_04_10242.jpg', '/mnt/data/16062025/12/51/image_16062025_12_51_54_10062.jpg', '/mnt/data/16062025/12/51/image_16062025_12_51_44_10206.jpg', '/mnt/data/16062025/12/51/image_16062025_12_51_15_10196.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg
/mnt/data/16062025/12/51/image_16062025_12_52_04_10242.jpg
/mnt/data/16062025/12/51/image_16062025_12_51_54_10062.jpg
/mnt/data/16062025/12/51/image_16062025_12_51_44_10206.jpg
/mnt/data/16062025/12/51/image_16062025_12_51_15_10196.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376499544","1376499541","1376499579","1376499588","1376499621","1376499569"],"photo_ids_order":["1376499541","1376499544","1376499569","1376499579","1376499588","1376499621"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a5b08708a03a9cabd54386e70dd73bfa.jpg","text":"TemporaryFile(/tmp/multipartBody1192491022102821518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942240356,"filename":"image_16062025_12_52_24_9918.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/871ea33c2bd0d08704bd3f4b188c0efd.jpg","text":"TemporaryFile(/tmp/multipartBody7221553016870717995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942240356,"filename":"image_16062025_12_52_34_9982.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/170a0edb2be038f2abb0cbfd0f422065.jpg","text":"TemporaryFile(/tmp/multipartBody8599298159842649188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942240356,"filename":"image_16062025_12_51_54_10062.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9e8449a9ab249c150235c818eb26dbd3.jpg","text":"TemporaryFile(/tmp/multipartBody193311674067224586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942240356,"filename":"image_16062025_12_51_44_10206.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e6e9ff2ea2f5618e11db235ee9210e6e.jpg","text":"TemporaryFile(/tmp/multipartBody8035273234093882830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942240356,"filename":"image_16062025_12_51_15_10196.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1fc6a4deea29eeb2165f3360da8e0178.jpg","text":"TemporaryFile(/tmp/multipartBody1963295768354589585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942240356,"filename":"image_16062025_12_52_04_10242.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376499569","file1":"1376499544","file0":"1376499541","file4":"1376499588","file5":"1376499621","file3":"1376499579"},"map_files_photo_id_array":[{"photo_id":"1376499621","filename":"file5"},{"photo_id":"1376499569","filename":"file2"},{"photo_id":"1376499588","filename":"file4"},{"photo_id":"1376499544","filename":"file1"},{"photo_id":"1376499541","filename":"file0"},{"photo_id":"1376499579","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376499544":["hashtag1","hashtag2"]},{"1376499541":["hashtag1","hashtag2"]},{"1376499579":["hashtag1","hashtag2"]},{"1376499588":["hashtag1","hashtag2"]},{"1376499621":["hashtag1","hashtag2"]},{"1376499569":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376499544, 1376499541, 1376499579, 1376499588, 1376499621, 1376499569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.80629849433899 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:57:03.368425
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg', 2), ('/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg', 2), ('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg', '/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg', '/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg', '/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg', '/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg
/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
uploaded 0 photos
time to upload: 30.381226062774658 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 21:59:02.857799
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg', 2), ('/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg', 2), ('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg', '/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg', '/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg', '/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg', '/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg
/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
uploaded 0 photos
time to upload: 30.575212240219116 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:00:02.720233
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg', 2), ('/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg', 2), ('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg', '/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg', '/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg', '/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg', '/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg
/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376500539","1376500401","1376500602","1376500667","1376500733","1376500465"],"photo_ids_order":["1376500401","1376500465","1376500539","1376500602","1376500667","1376500733"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2e61939929f5de57e208a3bbfed363b0.jpg","text":"TemporaryFile(/tmp/multipartBody3604386158263782542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942473366,"filename":"image_16062025_12_30_14_10042.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/771ba34fbe31f7d0d788c057b689b314.jpg","text":"TemporaryFile(/tmp/multipartBody1421884616594533579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942473366,"filename":"image_16062025_12_51_05_10247.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/479c274e2bc2692e8c70bfb8d9ac7f4f.jpg","text":"TemporaryFile(/tmp/multipartBody6396517611856369402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942473366,"filename":"image_16062025_12_29_14_10183.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d511b6e60c391a19278f25b855673856.jpg","text":"TemporaryFile(/tmp/multipartBody7018498487027334410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942473366,"filename":"image_16062025_12_29_04_10531.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f9ea9bfdbc42d467b19a489b848daa69.jpg","text":"TemporaryFile(/tmp/multipartBody5728882109042817700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942473366,"filename":"image_16062025_12_28_54_8953.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5d16da237c19506839400f2c2826549b.jpg","text":"TemporaryFile(/tmp/multipartBody6664306890054603911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942473366,"filename":"image_16062025_12_40_14_10026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376500539","file1":"1376500465","file0":"1376500401","file4":"1376500667","file5":"1376500733","file3":"1376500602"},"map_files_photo_id_array":[{"photo_id":"1376500733","filename":"file5"},{"photo_id":"1376500539","filename":"file2"},{"photo_id":"1376500667","filename":"file4"},{"photo_id":"1376500465","filename":"file1"},{"photo_id":"1376500401","filename":"file0"},{"photo_id":"1376500602","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376500539":["hashtag1","hashtag2"]},{"1376500401":["hashtag1","hashtag2"]},{"1376500602":["hashtag1","hashtag2"]},{"1376500667":["hashtag1","hashtag2"]},{"1376500733":["hashtag1","hashtag2"]},{"1376500465":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376500539, 1376500401, 1376500602, 1376500667, 1376500733, 1376500465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.58033895492554 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:01:03.482297
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376501403","1376501207","1376501275","1376501341","1376501143","1376501460"],"photo_ids_order":["1376501143","1376501207","1376501275","1376501341","1376501403","1376501460"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/39198071648e02d0f2abca82688d2b03.jpg","text":"TemporaryFile(/tmp/multipartBody1361349540911084097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942533279,"filename":"image_16062025_12_25_34_9950.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3dc6d6aacdd5d61459405ff1828fe745.jpg","text":"TemporaryFile(/tmp/multipartBody6810960895213140215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942533279,"filename":"image_16062025_12_26_14_10046.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/766f24d5a47a860d23f5da99fb7bd93b.jpg","text":"TemporaryFile(/tmp/multipartBody6225096975081418019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942533279,"filename":"image_16062025_12_26_04_10025.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6197030d50487aaff89a698c0199fe52.jpg","text":"TemporaryFile(/tmp/multipartBody64487887553728072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942533279,"filename":"image_16062025_12_25_54_10001.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d1195f55b686ae0d9759a2bf25a17e37.jpg","text":"TemporaryFile(/tmp/multipartBody3012592175210932002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942533279,"filename":"image_16062025_12_28_45_10164.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e4c978f684e74a8d20ce2c58ea8fbe7b.jpg","text":"TemporaryFile(/tmp/multipartBody518731998429993530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754942533279,"filename":"image_16062025_12_25_24_9998.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376501275","file1":"1376501207","file0":"1376501143","file4":"1376501403","file5":"1376501460","file3":"1376501341"},"map_files_photo_id_array":[{"photo_id":"1376501460","filename":"file5"},{"photo_id":"1376501275","filename":"file2"},{"photo_id":"1376501403","filename":"file4"},{"photo_id":"1376501207","filename":"file1"},{"photo_id":"1376501143","filename":"file0"},{"photo_id":"1376501341","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376501403":["hashtag1","hashtag2"]},{"1376501207":["hashtag1","hashtag2"]},{"1376501275":["hashtag1","hashtag2"]},{"1376501341":["hashtag1","hashtag2"]},{"1376501143":["hashtag1","hashtag2"]},{"1376501460":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376501403, 1376501207, 1376501275, 1376501341, 1376501143, 1376501460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.29331874847412 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:02:03.126602
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg
uploaded 0 photos
time to upload: 30.36938714981079 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:03:03.095210
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg
uploaded 0 photos
time to upload: 30.29740333557129 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:04:02.787952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg
uploaded 0 photos
time to upload: 30.327102422714233 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:05:02.869575
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 138.73166227340698 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:08:03.203771
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg
uploaded 0 photos
time to upload: 30.32177424430847 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:09:03.270154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_25_10216.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_14_10099.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376504155","1376504122","1376503998","1376504037","1376503964","1376504071"],"photo_ids_order":["1376503964","1376503998","1376504037","1376504071","1376504122","1376504155"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0ffe76c639fe13a69dd5f74d49514a8d.jpg","text":"TemporaryFile(/tmp/multipartBody4192168058489389851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943026852,"filename":"image_16062025_12_24_14_10099.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/15a17a70b80ce6e3ef3b6da8d6df433b.jpg","text":"TemporaryFile(/tmp/multipartBody4625459264739551300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943026852,"filename":"image_16062025_12_24_25_10216.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/70543ff83f8309de3441427bc4b4acf9.jpg","text":"TemporaryFile(/tmp/multipartBody5231286124393709485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943026852,"filename":"image_16062025_12_24_55_10065.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1ea6db050e3b049882312216edd16cab.jpg","text":"TemporaryFile(/tmp/multipartBody7521266008555865088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943026852,"filename":"image_16062025_12_24_45_10050.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/398fda3f3f5bc48c8ac2ca6c1a67302e.jpg","text":"TemporaryFile(/tmp/multipartBody6986452048304289020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943026852,"filename":"image_16062025_12_25_14_10059.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/40953821923ffe9f4ee17d6d6e3b346c.jpg","text":"TemporaryFile(/tmp/multipartBody5067055883956893394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943026852,"filename":"image_16062025_12_24_35_10080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376504037","file1":"1376503998","file0":"1376503964","file4":"1376504122","file5":"1376504155","file3":"1376504071"},"map_files_photo_id_array":[{"photo_id":"1376504155","filename":"file5"},{"photo_id":"1376504037","filename":"file2"},{"photo_id":"1376504122","filename":"file4"},{"photo_id":"1376503998","filename":"file1"},{"photo_id":"1376503964","filename":"file0"},{"photo_id":"1376504071","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376504155":["hashtag1","hashtag2"]},{"1376504122":["hashtag1","hashtag2"]},{"1376503998":["hashtag1","hashtag2"]},{"1376504037":["hashtag1","hashtag2"]},{"1376503964":["hashtag1","hashtag2"]},{"1376504071":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376504155, 1376504122, 1376503998, 1376504037, 1376503964, 1376504071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.35846304893494 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:11:02.800804
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/23/image_16062025_12_24_04_10336.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_54_10116.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_44_10154.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_34_10059.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_24_8837.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/23/image_16062025_12_24_04_10336.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_54_10116.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_44_10154.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_34_10059.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_24_8837.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/23/image_16062025_12_24_04_10336.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_54_10116.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_44_10154.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_34_10059.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_24_8837.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/23/image_16062025_12_24_04_10336.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_54_10116.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_44_10154.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_34_10059.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_24_8837.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_15_10071.jpg
uploaded 0 photos
time to upload: 30.379794120788574 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:12:03.266139
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/23/image_16062025_12_24_04_10336.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_54_10116.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_44_10154.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_34_10059.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_24_8837.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/23/image_16062025_12_24_04_10336.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_54_10116.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_44_10154.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_34_10059.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_24_8837.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/23/image_16062025_12_24_04_10336.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_54_10116.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_44_10154.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_34_10059.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_24_8837.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/23/image_16062025_12_24_04_10336.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_54_10116.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_44_10154.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_34_10059.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_24_8837.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_15_10071.jpg
uploaded 0 photos
time to upload: 30.314088106155396 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:13:03.078664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/23/image_16062025_12_24_04_10336.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_54_10116.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_44_10154.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_34_10059.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_24_8837.jpg', 2), ('/mnt/data/16062025/12/23/image_16062025_12_23_15_10071.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/23/image_16062025_12_24_04_10336.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_54_10116.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_44_10154.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_34_10059.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_24_8837.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_15_10071.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/23/image_16062025_12_24_04_10336.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_54_10116.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_44_10154.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_34_10059.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_24_8837.jpg', '/mnt/data/16062025/12/23/image_16062025_12_23_15_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/23/image_16062025_12_24_04_10336.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_54_10116.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_44_10154.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_34_10059.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_24_8837.jpg
/mnt/data/16062025/12/23/image_16062025_12_23_15_10071.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376504946","1376504984","1376505020","1376505200","1376505131","1376505070"],"photo_ids_order":["1376504946","1376504984","1376505020","1376505070","1376505131","1376505200"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1b3a3c1279e9ec0e783288df4330ed1e.jpg","text":"TemporaryFile(/tmp/multipartBody4930706971099126252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943258338,"filename":"image_16062025_12_24_04_10336.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b317710a07757581f7833c68eb582c93.jpg","text":"TemporaryFile(/tmp/multipartBody6355035938175983500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943258338,"filename":"image_16062025_12_23_54_10116.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bdea8796514b741aaced4d5b6cb71a33.jpg","text":"TemporaryFile(/tmp/multipartBody6577963598484026172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943258338,"filename":"image_16062025_12_23_44_10154.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/43ee35d4bf5a985ece724c4b6e35564d.jpg","text":"TemporaryFile(/tmp/multipartBody2622823025208157756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943258338,"filename":"image_16062025_12_23_15_10071.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d5bbaf867c16b192a29e953437c3204f.jpg","text":"TemporaryFile(/tmp/multipartBody1970325498847330446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943258338,"filename":"image_16062025_12_23_24_8837.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0db159e92b907909f16e6d19255e0f95.jpg","text":"TemporaryFile(/tmp/multipartBody2142103769218515424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943258338,"filename":"image_16062025_12_23_34_10059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376505020","file1":"1376504984","file0":"1376504946","file4":"1376505131","file5":"1376505200","file3":"1376505070"},"map_files_photo_id_array":[{"photo_id":"1376505200","filename":"file5"},{"photo_id":"1376505020","filename":"file2"},{"photo_id":"1376505131","filename":"file4"},{"photo_id":"1376504984","filename":"file1"},{"photo_id":"1376504946","filename":"file0"},{"photo_id":"1376505070","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376504946":["hashtag1","hashtag2"]},{"1376504984":["hashtag1","hashtag2"]},{"1376505020":["hashtag1","hashtag2"]},{"1376505200":["hashtag1","hashtag2"]},{"1376505131":["hashtag1","hashtag2"]},{"1376505070":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376504946, 1376504984, 1376505020, 1376505200, 1376505131, 1376505070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.12735390663147 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:14:02.655725
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/22/image_16062025_12_23_05_10307.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_54_10115.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/22/image_16062025_12_23_05_10307.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_54_10115.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/22/image_16062025_12_23_05_10307.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_54_10115.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/22/image_16062025_12_23_05_10307.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_54_10115.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg
uploaded 0 photos
time to upload: 30.37287402153015 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:15:02.934995
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/22/image_16062025_12_23_05_10307.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_54_10115.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/22/image_16062025_12_23_05_10307.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_54_10115.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/22/image_16062025_12_23_05_10307.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_54_10115.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/22/image_16062025_12_23_05_10307.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_54_10115.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg
uploaded 0 photos
time to upload: 30.32876181602478 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:16:02.741028
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/22/image_16062025_12_23_05_10307.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_54_10115.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/22/image_16062025_12_23_05_10307.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_54_10115.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/22/image_16062025_12_23_05_10307.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_54_10115.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/22/image_16062025_12_23_05_10307.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_54_10115.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376506352","1376506412","1376506607","1376506485","1376506764","1376506671"],"photo_ids_order":["1376506352","1376506412","1376506485","1376506607","1376506671","1376506764"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f2755ed90a90b368741e7d447ab87f8b.jpg","text":"TemporaryFile(/tmp/multipartBody1440901253142240593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943430719,"filename":"image_16062025_12_23_05_10307.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8303234d6ace220e12cea3fc7e83fe47.jpg","text":"TemporaryFile(/tmp/multipartBody8810899246932361477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943430719,"filename":"image_16062025_12_22_54_10115.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a946b7828272a263303d56efc4d6408b.jpg","text":"TemporaryFile(/tmp/multipartBody2222070993827496524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943430719,"filename":"image_16062025_12_22_34_10110.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bec271ad7c52e605c371b277c466299b.jpg","text":"TemporaryFile(/tmp/multipartBody6169827358105043856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943430719,"filename":"image_16062025_12_22_44_10174.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fc3ec3a12b252b89b3fdedabdcba0e20.jpg","text":"TemporaryFile(/tmp/multipartBody7417207696520522543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943430719,"filename":"image_16062025_12_22_14_10182.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a7c2b33ae95c9a1cd6f5cfcfc5f7e14f.jpg","text":"TemporaryFile(/tmp/multipartBody5276871111304504023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943430719,"filename":"image_16062025_12_22_24_10111.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376506485","file1":"1376506412","file0":"1376506352","file4":"1376506671","file5":"1376506764","file3":"1376506607"},"map_files_photo_id_array":[{"photo_id":"1376506764","filename":"file5"},{"photo_id":"1376506485","filename":"file2"},{"photo_id":"1376506671","filename":"file4"},{"photo_id":"1376506412","filename":"file1"},{"photo_id":"1376506352","filename":"file0"},{"photo_id":"1376506607","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376506352":["hashtag1","hashtag2"]},{"1376506412":["hashtag1","hashtag2"]},{"1376506607":["hashtag1","hashtag2"]},{"1376506485":["hashtag1","hashtag2"]},{"1376506764":["hashtag1","hashtag2"]},{"1376506671":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376506352, 1376506412, 1376506607, 1376506485, 1376506764, 1376506671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.087281942367554 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:17:02.974575
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/21/image_16062025_12_22_04_9007.jpg', 2), ('/mnt/data/16062025/12/21/image_16062025_12_21_55_10098.jpg', 2), ('/mnt/data/16062025/12/21/image_16062025_12_21_45_10023.jpg', 2), ('/mnt/data/16062025/12/21/image_16062025_12_21_25_9918.jpg', 2), ('/mnt/data/16062025/12/21/image_16062025_12_21_15_9952.jpg', 2), ('/mnt/data/16062025/12/20/image_16062025_12_21_05_10132.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/21/image_16062025_12_22_04_9007.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_55_10098.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_45_10023.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_25_9918.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_15_9952.jpg', '/mnt/data/16062025/12/20/image_16062025_12_21_05_10132.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/21/image_16062025_12_22_04_9007.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_55_10098.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_45_10023.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_25_9918.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_15_9952.jpg', '/mnt/data/16062025/12/20/image_16062025_12_21_05_10132.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/21/image_16062025_12_22_04_9007.jpg
/mnt/data/16062025/12/21/image_16062025_12_21_55_10098.jpg
/mnt/data/16062025/12/21/image_16062025_12_21_45_10023.jpg
/mnt/data/16062025/12/21/image_16062025_12_21_25_9918.jpg
/mnt/data/16062025/12/21/image_16062025_12_21_15_9952.jpg
/mnt/data/16062025/12/20/image_16062025_12_21_05_10132.jpg
uploaded 0 photos
time to upload: 30.361339330673218 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:18:03.213895
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/21/image_16062025_12_22_04_9007.jpg', 2), ('/mnt/data/16062025/12/21/image_16062025_12_21_55_10098.jpg', 2), ('/mnt/data/16062025/12/21/image_16062025_12_21_45_10023.jpg', 2), ('/mnt/data/16062025/12/21/image_16062025_12_21_25_9918.jpg', 2), ('/mnt/data/16062025/12/21/image_16062025_12_21_15_9952.jpg', 2), ('/mnt/data/16062025/12/20/image_16062025_12_21_05_10132.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/21/image_16062025_12_22_04_9007.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_55_10098.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_45_10023.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_25_9918.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_15_9952.jpg', '/mnt/data/16062025/12/20/image_16062025_12_21_05_10132.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/21/image_16062025_12_22_04_9007.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_55_10098.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_45_10023.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_25_9918.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_15_9952.jpg', '/mnt/data/16062025/12/20/image_16062025_12_21_05_10132.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/21/image_16062025_12_22_04_9007.jpg
/mnt/data/16062025/12/21/image_16062025_12_21_55_10098.jpg
/mnt/data/16062025/12/21/image_16062025_12_21_45_10023.jpg
/mnt/data/16062025/12/21/image_16062025_12_21_25_9918.jpg
/mnt/data/16062025/12/21/image_16062025_12_21_15_9952.jpg
/mnt/data/16062025/12/20/image_16062025_12_21_05_10132.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376507546","1376507584","1376507493","1376507469","1376507640","1376507430"],"photo_ids_order":["1376507430","1376507469","1376507493","1376507546","1376507584","1376507640"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/95754d341a7554be2b756ce4bbfdab25.jpg","text":"TemporaryFile(/tmp/multipartBody3339128495358388419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943555542,"filename":"image_16062025_12_21_25_9918.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/25c9e79f26f6b811a85f410650dad7e1.jpg","text":"TemporaryFile(/tmp/multipartBody6704296938864924608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943555542,"filename":"image_16062025_12_21_15_9952.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0d95858d1f2f08800664fc40832dc912.jpg","text":"TemporaryFile(/tmp/multipartBody483904351606035972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943555542,"filename":"image_16062025_12_21_45_10023.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e5de1817e0972387f59c4b9f02362bc8.jpg","text":"TemporaryFile(/tmp/multipartBody7311002916560348764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943555542,"filename":"image_16062025_12_21_55_10098.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fc7869e1f7bbecd8f48837c57b12f0b2.jpg","text":"TemporaryFile(/tmp/multipartBody3293407033788906402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943555542,"filename":"image_16062025_12_21_05_10132.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0cdef328728199e7e06e4a022c990689.jpg","text":"TemporaryFile(/tmp/multipartBody1235090030453612690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943555542,"filename":"image_16062025_12_22_04_9007.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376507493","file1":"1376507469","file0":"1376507430","file4":"1376507584","file5":"1376507640","file3":"1376507546"},"map_files_photo_id_array":[{"photo_id":"1376507640","filename":"file5"},{"photo_id":"1376507493","filename":"file2"},{"photo_id":"1376507584","filename":"file4"},{"photo_id":"1376507469","filename":"file1"},{"photo_id":"1376507430","filename":"file0"},{"photo_id":"1376507546","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376507546":["hashtag1","hashtag2"]},{"1376507584":["hashtag1","hashtag2"]},{"1376507493":["hashtag1","hashtag2"]},{"1376507469":["hashtag1","hashtag2"]},{"1376507640":["hashtag1","hashtag2"]},{"1376507430":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376507546, 1376507584, 1376507493, 1376507469, 1376507640, 1376507430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.35853028297424 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:19:03.426944
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/20/image_16062025_12_20_55_9952.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg', 2), ('/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/20/image_16062025_12_20_55_9952.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg', '/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/20/image_16062025_12_20_55_9952.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg', '/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/20/image_16062025_12_20_55_9952.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg
/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 17.33863592147827 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:20:03.232979
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/20/image_16062025_12_20_55_9952.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg', 2), ('/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/20/image_16062025_12_20_55_9952.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg', '/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/20/image_16062025_12_20_55_9952.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg', '/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/20/image_16062025_12_20_55_9952.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg
/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 14.489704608917236 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:21:03.151940
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/20/image_16062025_12_20_55_9952.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg', 2), ('/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/20/image_16062025_12_20_55_9952.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg', '/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/20/image_16062025_12_20_55_9952.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg', '/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/20/image_16062025_12_20_55_9952.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg
/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376508323","1376508478","1376508310","1376508313","1376508369","1376508417"],"photo_ids_order":["1376508310","1376508313","1376508323","1376508369","1376508417","1376508478"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d3815ed6eb8cb2e70c8cde5956cc5a84.jpg","text":"TemporaryFile(/tmp/multipartBody1909531937633856002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943729819,"filename":"image_16062025_12_19_34_10003.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9175e731fa6f5a3990827d2d8e475296.jpg","text":"TemporaryFile(/tmp/multipartBody4542624604300041162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943729819,"filename":"image_16062025_12_19_04_10224.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7a3e97da039b879e5ccaee8c5c1d2417.jpg","text":"TemporaryFile(/tmp/multipartBody1681775977665263525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943729819,"filename":"image_16062025_12_20_55_9952.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cd7153fcaef7aa101b6d29be601c3891.jpg","text":"TemporaryFile(/tmp/multipartBody3709828073809314582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943729819,"filename":"image_16062025_12_19_44_9917.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c792f86b7b79eba9fd0bab839bc3454a.jpg","text":"TemporaryFile(/tmp/multipartBody6853708056421324810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943729819,"filename":"image_16062025_12_19_24_10037.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/af2aaf0158922c8481004b7ef3ea4023.jpg","text":"TemporaryFile(/tmp/multipartBody5903919777383219581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943729819,"filename":"image_16062025_12_19_14_9989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376508323","file1":"1376508313","file0":"1376508310","file4":"1376508417","file5":"1376508478","file3":"1376508369"},"map_files_photo_id_array":[{"photo_id":"1376508478","filename":"file5"},{"photo_id":"1376508323","filename":"file2"},{"photo_id":"1376508417","filename":"file4"},{"photo_id":"1376508313","filename":"file1"},{"photo_id":"1376508310","filename":"file0"},{"photo_id":"1376508369","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376508323":["hashtag1","hashtag2"]},{"1376508478":["hashtag1","hashtag2"]},{"1376508310":["hashtag1","hashtag2"]},{"1376508313":["hashtag1","hashtag2"]},{"1376508369":["hashtag1","hashtag2"]},{"1376508417":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376508323, 1376508478, 1376508310, 1376508313, 1376508369, 1376508417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.548100233078 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:22:03.191461
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/18/image_16062025_12_18_54_10105.jpg', 2), ('/mnt/data/16062025/12/18/image_16062025_12_18_44_9992.jpg', 2), ('/mnt/data/16062025/12/18/image_16062025_12_18_34_10058.jpg', 2), ('/mnt/data/16062025/12/18/image_16062025_12_18_24_10001.jpg', 2), ('/mnt/data/16062025/12/18/image_16062025_12_18_14_10081.jpg', 2), ('/mnt/data/16062025/12/17/image_16062025_12_18_04_9260.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/18/image_16062025_12_18_54_10105.jpg', '/mnt/data/16062025/12/18/image_16062025_12_18_44_9992.jpg', '/mnt/data/16062025/12/18/image_16062025_12_18_34_10058.jpg', '/mnt/data/16062025/12/18/image_16062025_12_18_24_10001.jpg', '/mnt/data/16062025/12/18/image_16062025_12_18_14_10081.jpg', '/mnt/data/16062025/12/17/image_16062025_12_18_04_9260.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/18/image_16062025_12_18_54_10105.jpg', '/mnt/data/16062025/12/18/image_16062025_12_18_44_9992.jpg', '/mnt/data/16062025/12/18/image_16062025_12_18_34_10058.jpg', '/mnt/data/16062025/12/18/image_16062025_12_18_24_10001.jpg', '/mnt/data/16062025/12/18/image_16062025_12_18_14_10081.jpg', '/mnt/data/16062025/12/17/image_16062025_12_18_04_9260.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/18/image_16062025_12_18_54_10105.jpg
/mnt/data/16062025/12/18/image_16062025_12_18_44_9992.jpg
/mnt/data/16062025/12/18/image_16062025_12_18_34_10058.jpg
/mnt/data/16062025/12/18/image_16062025_12_18_24_10001.jpg
/mnt/data/16062025/12/18/image_16062025_12_18_14_10081.jpg
/mnt/data/16062025/12/17/image_16062025_12_18_04_9260.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376508701","1376508751","1376508675","1376508756","1376508678","1376508747"],"photo_ids_order":["1376508675","1376508678","1376508701","1376508747","1376508751","1376508756"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2309640d4bb35ae18bfa07609dd0444f.jpg","text":"TemporaryFile(/tmp/multipartBody7529135120572233129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943805725,"filename":"image_16062025_12_18_34_10058.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0e25c1eadd3eba0f27443653eaddf7fd.jpg","text":"TemporaryFile(/tmp/multipartBody6265308241104097929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943805725,"filename":"image_16062025_12_18_14_10081.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f80c83f8cf73650de80dbc235eef4fab.jpg","text":"TemporaryFile(/tmp/multipartBody2313795999027062421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943805725,"filename":"image_16062025_12_18_54_10105.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/626bd47c1fec4e71fc23817d95b286d0.jpg","text":"TemporaryFile(/tmp/multipartBody1990782716409171445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943805725,"filename":"image_16062025_12_18_04_9260.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b8a6caabf9845853f9d48181af80ef8a.jpg","text":"TemporaryFile(/tmp/multipartBody1528984620695478051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943805725,"filename":"image_16062025_12_18_44_9992.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c642549080f100386deea3daa0396854.jpg","text":"TemporaryFile(/tmp/multipartBody5466362022457964634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943805725,"filename":"image_16062025_12_18_24_10001.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376508701","file1":"1376508678","file0":"1376508675","file4":"1376508751","file5":"1376508756","file3":"1376508747"},"map_files_photo_id_array":[{"photo_id":"1376508756","filename":"file5"},{"photo_id":"1376508701","filename":"file2"},{"photo_id":"1376508751","filename":"file4"},{"photo_id":"1376508678","filename":"file1"},{"photo_id":"1376508675","filename":"file0"},{"photo_id":"1376508747","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376508701":["hashtag1","hashtag2"]},{"1376508751":["hashtag1","hashtag2"]},{"1376508675":["hashtag1","hashtag2"]},{"1376508756":["hashtag1","hashtag2"]},{"1376508678":["hashtag1","hashtag2"]},{"1376508747":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376508701, 1376508751, 1376508675, 1376508756, 1376508678, 1376508747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.67434191703796 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:24:02.581285
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/17/image_16062025_12_17_55_10006.jpg', 2), ('/mnt/data/16062025/12/17/image_16062025_12_17_45_9998.jpg', 2), ('/mnt/data/16062025/12/17/image_16062025_12_17_35_9951.jpg', 2), ('/mnt/data/16062025/12/17/image_16062025_12_17_25_9972.jpg', 2), ('/mnt/data/16062025/12/17/image_16062025_12_17_15_9931.jpg', 2), ('/mnt/data/16062025/12/16/image_16062025_12_17_05_10073.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/17/image_16062025_12_17_55_10006.jpg', '/mnt/data/16062025/12/17/image_16062025_12_17_45_9998.jpg', '/mnt/data/16062025/12/17/image_16062025_12_17_35_9951.jpg', '/mnt/data/16062025/12/17/image_16062025_12_17_25_9972.jpg', '/mnt/data/16062025/12/17/image_16062025_12_17_15_9931.jpg', '/mnt/data/16062025/12/16/image_16062025_12_17_05_10073.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/17/image_16062025_12_17_55_10006.jpg', '/mnt/data/16062025/12/17/image_16062025_12_17_45_9998.jpg', '/mnt/data/16062025/12/17/image_16062025_12_17_35_9951.jpg', '/mnt/data/16062025/12/17/image_16062025_12_17_25_9972.jpg', '/mnt/data/16062025/12/17/image_16062025_12_17_15_9931.jpg', '/mnt/data/16062025/12/16/image_16062025_12_17_05_10073.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/17/image_16062025_12_17_55_10006.jpg
/mnt/data/16062025/12/17/image_16062025_12_17_45_9998.jpg
/mnt/data/16062025/12/17/image_16062025_12_17_35_9951.jpg
/mnt/data/16062025/12/17/image_16062025_12_17_25_9972.jpg
/mnt/data/16062025/12/17/image_16062025_12_17_15_9931.jpg
/mnt/data/16062025/12/16/image_16062025_12_17_05_10073.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376508815","1376508970","1376508937","1376508901","1376508867","1376508783"],"photo_ids_order":["1376508783","1376508815","1376508867","1376508901","1376508937","1376508970"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6e4379bf1d72eb1a582520611c56d8bf.jpg","text":"TemporaryFile(/tmp/multipartBody5330799893152819115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943914449,"filename":"image_16062025_12_17_45_9998.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/eb3cde631a00e266f83695e2eb0753d5.jpg","text":"TemporaryFile(/tmp/multipartBody102503836737916405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943914449,"filename":"image_16062025_12_17_05_10073.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ba2fec3ca1eefcc38f16b6a07098723a.jpg","text":"TemporaryFile(/tmp/multipartBody3531654975161124156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943914449,"filename":"image_16062025_12_17_15_9931.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/879487adfd7888a010f84b4f94684cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3537157407225602357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943914449,"filename":"image_16062025_12_17_25_9972.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ea18945b8d5ea319f287ef14141c85cb.jpg","text":"TemporaryFile(/tmp/multipartBody7450672624513138250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943914449,"filename":"image_16062025_12_17_35_9951.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a678591e6fdc19af89bf051b1f18edf8.jpg","text":"TemporaryFile(/tmp/multipartBody6138493960018309936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754943914449,"filename":"image_16062025_12_17_55_10006.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376508867","file1":"1376508815","file0":"1376508783","file4":"1376508937","file5":"1376508970","file3":"1376508901"},"map_files_photo_id_array":[{"photo_id":"1376508970","filename":"file5"},{"photo_id":"1376508867","filename":"file2"},{"photo_id":"1376508937","filename":"file4"},{"photo_id":"1376508815","filename":"file1"},{"photo_id":"1376508783","filename":"file0"},{"photo_id":"1376508901","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376508815":["hashtag1","hashtag2"]},{"1376508970":["hashtag1","hashtag2"]},{"1376508937":["hashtag1","hashtag2"]},{"1376508901":["hashtag1","hashtag2"]},{"1376508867":["hashtag1","hashtag2"]},{"1376508783":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376508815, 1376508970, 1376508937, 1376508901, 1376508867, 1376508783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.502705097198486 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:25:03.339111
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/16/image_16062025_12_16_55_9974.jpg', 2), ('/mnt/data/16062025/12/16/image_16062025_12_16_45_9949.jpg', 2), ('/mnt/data/16062025/12/16/image_16062025_12_16_35_10170.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_55_10021.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/16/image_16062025_12_16_55_9974.jpg', '/mnt/data/16062025/12/16/image_16062025_12_16_45_9949.jpg', '/mnt/data/16062025/12/16/image_16062025_12_16_35_10170.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_55_10021.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/16/image_16062025_12_16_55_9974.jpg', '/mnt/data/16062025/12/16/image_16062025_12_16_45_9949.jpg', '/mnt/data/16062025/12/16/image_16062025_12_16_35_10170.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_55_10021.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/16/image_16062025_12_16_55_9974.jpg
/mnt/data/16062025/12/16/image_16062025_12_16_45_9949.jpg
/mnt/data/16062025/12/16/image_16062025_12_16_35_10170.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_55_10021.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 137.8855230808258 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:28:03.214794
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/16/image_16062025_12_16_55_9974.jpg', 2), ('/mnt/data/16062025/12/16/image_16062025_12_16_45_9949.jpg', 2), ('/mnt/data/16062025/12/16/image_16062025_12_16_35_10170.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_55_10021.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/16/image_16062025_12_16_55_9974.jpg', '/mnt/data/16062025/12/16/image_16062025_12_16_45_9949.jpg', '/mnt/data/16062025/12/16/image_16062025_12_16_35_10170.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_55_10021.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/16/image_16062025_12_16_55_9974.jpg', '/mnt/data/16062025/12/16/image_16062025_12_16_45_9949.jpg', '/mnt/data/16062025/12/16/image_16062025_12_16_35_10170.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_55_10021.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/16/image_16062025_12_16_55_9974.jpg
/mnt/data/16062025/12/16/image_16062025_12_16_45_9949.jpg
/mnt/data/16062025/12/16/image_16062025_12_16_35_10170.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_55_10021.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376509810","1376509804","1376509807","1376509788","1376509874","1376509838"],"photo_ids_order":["1376509788","1376509804","1376509807","1376509810","1376509838","1376509874"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/203d6b3d7dd61309baf59a0862fa7359.jpg","text":"TemporaryFile(/tmp/multipartBody8671613612953264976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944154633,"filename":"image_16062025_12_13_55_10021.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ad9bef6fc6ca37191c6e1b64d00fe88f.jpg","text":"TemporaryFile(/tmp/multipartBody5000561556189472244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944154633,"filename":"image_16062025_12_16_45_9949.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/78aeb8cf558da67970fbf0a4c568b9fe.jpg","text":"TemporaryFile(/tmp/multipartBody3685133463908373997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944154633,"filename":"image_16062025_12_16_35_10170.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/587bca9c7b2e0dfd63eb49697433990b.jpg","text":"TemporaryFile(/tmp/multipartBody6549788473933676913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944154633,"filename":"image_16062025_12_16_55_9974.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1d6d841ce6bfa0257de619a0dd585b65.jpg","text":"TemporaryFile(/tmp/multipartBody7390885549978452754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944154633,"filename":"image_16062025_12_13_35_9923.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6333ce7ddc13ab1705125974110a721d.jpg","text":"TemporaryFile(/tmp/multipartBody6658989677801320602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944154633,"filename":"image_16062025_12_13_45_9956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376509807","file1":"1376509804","file0":"1376509788","file4":"1376509838","file5":"1376509874","file3":"1376509810"},"map_files_photo_id_array":[{"photo_id":"1376509874","filename":"file5"},{"photo_id":"1376509807","filename":"file2"},{"photo_id":"1376509838","filename":"file4"},{"photo_id":"1376509804","filename":"file1"},{"photo_id":"1376509788","filename":"file0"},{"photo_id":"1376509810","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376509810":["hashtag1","hashtag2"]},{"1376509804":["hashtag1","hashtag2"]},{"1376509807":["hashtag1","hashtag2"]},{"1376509788":["hashtag1","hashtag2"]},{"1376509874":["hashtag1","hashtag2"]},{"1376509838":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376509810, 1376509804, 1376509807, 1376509788, 1376509874, 1376509838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.78706169128418 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:29:03.409889
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_12_44_9924.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_12_34_9971.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg', '/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_44_9924.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_34_9971.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg', '/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_44_9924.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_34_9971.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg
/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg
/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg
/mnt/data/16062025/12/12/image_16062025_12_12_44_9924.jpg
/mnt/data/16062025/12/12/image_16062025_12_12_34_9971.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 134.38383078575134 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:32:03.041096
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_12_44_9924.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_12_34_9971.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg', '/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_44_9924.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_34_9971.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg', '/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_44_9924.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_34_9971.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg
/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg
/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg
/mnt/data/16062025/12/12/image_16062025_12_12_44_9924.jpg
/mnt/data/16062025/12/12/image_16062025_12_12_34_9971.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376511085","1376510979","1376511000","1376511053","1376510993","1376511023"],"photo_ids_order":["1376510979","1376510993","1376511000","1376511023","1376511053","1376511085"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/54685117be550b6103de1680fba3c1ec.jpg","text":"TemporaryFile(/tmp/multipartBody7164872301516348672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944402431,"filename":"image_16062025_12_12_34_9971.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/681b51f0ea9b67a99ba4df36b383a84d.jpg","text":"TemporaryFile(/tmp/multipartBody1250810270114747066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944402431,"filename":"image_16062025_12_13_25_9953.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/458f05633127616ce0a475e9d3d45baf.jpg","text":"TemporaryFile(/tmp/multipartBody8408060712366882514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944402431,"filename":"image_16062025_12_13_04_8922.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d0cea26defdaba6a45fa201a48cba9bd.jpg","text":"TemporaryFile(/tmp/multipartBody7346292995917862650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944402431,"filename":"image_16062025_12_12_44_9924.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/cd8ab40c0059ef9944042425f56ef146.jpg","text":"TemporaryFile(/tmp/multipartBody1262820255998393758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944402431,"filename":"image_16062025_12_13_15_11133.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8427005b615760d065f83ad9dd504138.jpg","text":"TemporaryFile(/tmp/multipartBody1746738710214296044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944402431,"filename":"image_16062025_12_12_55_11115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376511000","file1":"1376510993","file0":"1376510979","file4":"1376511053","file5":"1376511085","file3":"1376511023"},"map_files_photo_id_array":[{"photo_id":"1376511085","filename":"file5"},{"photo_id":"1376511000","filename":"file2"},{"photo_id":"1376511053","filename":"file4"},{"photo_id":"1376510993","filename":"file1"},{"photo_id":"1376510979","filename":"file0"},{"photo_id":"1376511023","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376511085":["hashtag1","hashtag2"]},{"1376510979":["hashtag1","hashtag2"]},{"1376511000":["hashtag1","hashtag2"]},{"1376511053":["hashtag1","hashtag2"]},{"1376510993":["hashtag1","hashtag2"]},{"1376511023":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376511085, 1376510979, 1376511000, 1376511053, 1376510993, 1376511023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.56483578681946 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:33:03.168416
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/12/image_16062025_12_12_24_9947.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_12_14_9923.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_12_04_9165.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_11_55_10055.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_11_45_10011.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_11_35_10153.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/12/image_16062025_12_12_24_9947.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_14_9923.jpg', '/mnt/data/16062025/12/11/image_16062025_12_12_04_9165.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_55_10055.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_45_10011.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_35_10153.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/12/image_16062025_12_12_24_9947.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_14_9923.jpg', '/mnt/data/16062025/12/11/image_16062025_12_12_04_9165.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_55_10055.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_45_10011.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_35_10153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/12/image_16062025_12_12_24_9947.jpg
/mnt/data/16062025/12/12/image_16062025_12_12_14_9923.jpg
/mnt/data/16062025/12/11/image_16062025_12_12_04_9165.jpg
/mnt/data/16062025/12/11/image_16062025_12_11_55_10055.jpg
/mnt/data/16062025/12/11/image_16062025_12_11_45_10011.jpg
/mnt/data/16062025/12/11/image_16062025_12_11_35_10153.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376511394","1376511433","1376511294","1376511360","1376511327","1376511261"],"photo_ids_order":["1376511261","1376511294","1376511327","1376511360","1376511394","1376511433"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a513e7724bf8d0bb120276977c3448d4.jpg","text":"TemporaryFile(/tmp/multipartBody7481935755304486767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944454726,"filename":"image_16062025_12_11_45_10011.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bb2b9c31df8265e9862ad2389e54aac0.jpg","text":"TemporaryFile(/tmp/multipartBody7655169005720001998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944454726,"filename":"image_16062025_12_11_35_10153.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ad90e930f59943cb4f1d405b0620a0a7.jpg","text":"TemporaryFile(/tmp/multipartBody5442062699858786609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944454726,"filename":"image_16062025_12_12_14_9923.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d915d6f04598bc1d1eee8bda16eadc44.jpg","text":"TemporaryFile(/tmp/multipartBody6440879865853063536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944454726,"filename":"image_16062025_12_11_55_10055.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9eef0baeb6a27dafa88af80acff5c19c.jpg","text":"TemporaryFile(/tmp/multipartBody4465203214858978507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944454726,"filename":"image_16062025_12_12_04_9165.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/35a8535a3e624cb30da805b9515fa791.jpg","text":"TemporaryFile(/tmp/multipartBody745878370631970433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944454726,"filename":"image_16062025_12_12_24_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376511327","file1":"1376511294","file0":"1376511261","file4":"1376511394","file5":"1376511433","file3":"1376511360"},"map_files_photo_id_array":[{"photo_id":"1376511433","filename":"file5"},{"photo_id":"1376511327","filename":"file2"},{"photo_id":"1376511394","filename":"file4"},{"photo_id":"1376511294","filename":"file1"},{"photo_id":"1376511261","filename":"file0"},{"photo_id":"1376511360","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376511394":["hashtag1","hashtag2"]},{"1376511433":["hashtag1","hashtag2"]},{"1376511294":["hashtag1","hashtag2"]},{"1376511360":["hashtag1","hashtag2"]},{"1376511327":["hashtag1","hashtag2"]},{"1376511261":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376511394, 1376511433, 1376511294, 1376511360, 1376511327, 1376511261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.144686222076416 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:34:02.652796
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', '/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', '/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg
/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg
/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 30.906242609024048 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:35:02.800183
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', '/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', '/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg
/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg
/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg
uploaded 0 photos
time to upload: 30.32331895828247 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:36:03.309744
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', '/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', '/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg
/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg
/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg
uploaded 0 photos
time to upload: 31.34643840789795 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:37:03.319045
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', '/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', '/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg
/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg
/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg
uploaded 0 photos
time to upload: 30.301777362823486 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:38:03.103086
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', '/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', '/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg
/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg
/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg
uploaded 0 photos
time to upload: 30.309274435043335 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:39:02.884851
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', '/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', '/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg
/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg
/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376512321","1376512324","1376512338","1376512326","1376512335","1376512331"],"photo_ids_order":["1376512321","1376512324","1376512326","1376512331","1376512335","1376512338"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e66d741085428125589dfe34c6cf8a2b.jpg","text":"TemporaryFile(/tmp/multipartBody1817901187169780029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944831677,"filename":"image_16062025_12_11_25_10330.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c7e97a11a6fd60dd1bb731dc93bdd141.jpg","text":"TemporaryFile(/tmp/multipartBody8754359399368730370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944831677,"filename":"image_16062025_12_11_14_9996.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/60e9d63b919182bfb9d4261313d16e65.jpg","text":"TemporaryFile(/tmp/multipartBody8630173977133822055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944831677,"filename":"image_16062025_12_10_24_10185.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9acc17c5f687c24227d639650e53fe38.jpg","text":"TemporaryFile(/tmp/multipartBody5265870639281941464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944831677,"filename":"image_16062025_12_11_04_10309.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8638f9bb2fdfb8ab5138a4a10b262ec8.jpg","text":"TemporaryFile(/tmp/multipartBody8098621513528575237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944831677,"filename":"image_16062025_12_10_35_10239.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7768e3ff7ffbeff8e1bbf53b978ee980.jpg","text":"TemporaryFile(/tmp/multipartBody6126237586533182937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944831677,"filename":"image_16062025_12_10_54_10205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376512326","file1":"1376512324","file0":"1376512321","file4":"1376512335","file5":"1376512338","file3":"1376512331"},"map_files_photo_id_array":[{"photo_id":"1376512338","filename":"file5"},{"photo_id":"1376512326","filename":"file2"},{"photo_id":"1376512335","filename":"file4"},{"photo_id":"1376512324","filename":"file1"},{"photo_id":"1376512321","filename":"file0"},{"photo_id":"1376512331","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376512321":["hashtag1","hashtag2"]},{"1376512324":["hashtag1","hashtag2"]},{"1376512338":["hashtag1","hashtag2"]},{"1376512326":["hashtag1","hashtag2"]},{"1376512335":["hashtag1","hashtag2"]},{"1376512331":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376512321, 1376512324, 1376512338, 1376512326, 1376512335, 1376512331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.94950747489929 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:41:03.308806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/10/image_16062025_12_10_14_10195.jpg', 2), ('/mnt/data/16062025/12/09/image_16062025_12_10_04_9600.jpg', 2), ('/mnt/data/16062025/12/09/image_16062025_12_09_54_10169.jpg', 2), ('/mnt/data/16062025/12/09/image_16062025_12_09_44_10206.jpg', 2), ('/mnt/data/16062025/12/09/image_16062025_12_09_34_9026.jpg', 2), ('/mnt/data/16062025/12/09/image_16062025_12_09_25_10344.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/10/image_16062025_12_10_14_10195.jpg', '/mnt/data/16062025/12/09/image_16062025_12_10_04_9600.jpg', '/mnt/data/16062025/12/09/image_16062025_12_09_54_10169.jpg', '/mnt/data/16062025/12/09/image_16062025_12_09_44_10206.jpg', '/mnt/data/16062025/12/09/image_16062025_12_09_34_9026.jpg', '/mnt/data/16062025/12/09/image_16062025_12_09_25_10344.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/10/image_16062025_12_10_14_10195.jpg', '/mnt/data/16062025/12/09/image_16062025_12_10_04_9600.jpg', '/mnt/data/16062025/12/09/image_16062025_12_09_54_10169.jpg', '/mnt/data/16062025/12/09/image_16062025_12_09_44_10206.jpg', '/mnt/data/16062025/12/09/image_16062025_12_09_34_9026.jpg', '/mnt/data/16062025/12/09/image_16062025_12_09_25_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/10/image_16062025_12_10_14_10195.jpg
/mnt/data/16062025/12/09/image_16062025_12_10_04_9600.jpg
/mnt/data/16062025/12/09/image_16062025_12_09_54_10169.jpg
/mnt/data/16062025/12/09/image_16062025_12_09_44_10206.jpg
/mnt/data/16062025/12/09/image_16062025_12_09_34_9026.jpg
/mnt/data/16062025/12/09/image_16062025_12_09_25_10344.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376512470","1376512481","1376512454","1376512382","1376512376","1376512483"],"photo_ids_order":["1376512376","1376512382","1376512454","1376512470","1376512481","1376512483"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a5ca4ac54dc2045ed4bc0e64320c53d2.jpg","text":"TemporaryFile(/tmp/multipartBody8117561327148760823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944952718,"filename":"image_16062025_12_09_44_10206.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/35de6d741e5dfea905d4fdc991584973.jpg","text":"TemporaryFile(/tmp/multipartBody2252044393189171266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944952718,"filename":"image_16062025_12_09_34_9026.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2ac1dbb13fa2124b2f2a74078eed90af.jpg","text":"TemporaryFile(/tmp/multipartBody3366122769030603855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944952718,"filename":"image_16062025_12_09_54_10169.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c4a9018a38e8fd821b25b05a565757d8.jpg","text":"TemporaryFile(/tmp/multipartBody7725156391097487547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944952718,"filename":"image_16062025_12_10_04_9600.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/55fcb2106026a09be1c92659af953893.jpg","text":"TemporaryFile(/tmp/multipartBody1689151856398952035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944952718,"filename":"image_16062025_12_10_14_10195.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9183839f6f0217ee23cb97e8086e2662.jpg","text":"TemporaryFile(/tmp/multipartBody4396041492301206198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754944952718,"filename":"image_16062025_12_09_25_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376512454","file1":"1376512382","file0":"1376512376","file4":"1376512481","file5":"1376512483","file3":"1376512470"},"map_files_photo_id_array":[{"photo_id":"1376512483","filename":"file5"},{"photo_id":"1376512454","filename":"file2"},{"photo_id":"1376512481","filename":"file4"},{"photo_id":"1376512382","filename":"file1"},{"photo_id":"1376512376","filename":"file0"},{"photo_id":"1376512470","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376512470":["hashtag1","hashtag2"]},{"1376512481":["hashtag1","hashtag2"]},{"1376512454":["hashtag1","hashtag2"]},{"1376512382":["hashtag1","hashtag2"]},{"1376512376":["hashtag1","hashtag2"]},{"1376512483":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376512470, 1376512481, 1376512454, 1376512382, 1376512376, 1376512483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.3718581199646 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:43:02.963254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', '/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', '/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg
/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg
uploaded 0 photos
time to upload: 30.405596494674683 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:44:02.671515
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', '/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', '/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg
/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg
uploaded 0 photos
time to upload: 34.24391007423401 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:45:03.243583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', '/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', '/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg
/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 145.69423842430115 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:48:03.240604
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', '/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', '/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg
/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg
uploaded 0 photos
time to upload: 30.296033143997192 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:49:03.179959
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', '/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', '/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg
/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg
uploaded 0 photos
time to upload: 30.328529119491577 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:50:02.947106
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', '/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', '/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg
/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_44_10315.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376513317","1376513094","1376513217","1376513354","1376513281","1376513152"],"photo_ids_order":["1376513094","1376513152","1376513217","1376513281","1376513317","1376513354"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e884be6f555bb8079d655899f0f683cf.jpg","text":"TemporaryFile(/tmp/multipartBody2283423925296093693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754945484694,"filename":"image_16062025_12_08_34_8936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/88ceca954246d2a0b8f8126afa45f726.jpg","text":"TemporaryFile(/tmp/multipartBody536555407040013331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754945484694,"filename":"image_16062025_12_09_15_10159.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e3c6672a03a949237db76d807dd4132e.jpg","text":"TemporaryFile(/tmp/multipartBody6860635578434721217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754945484694,"filename":"image_16062025_12_08_54_10147.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1e0d4bf3f05c39b7475baa6fe9890c61.jpg","text":"TemporaryFile(/tmp/multipartBody6797743044051419060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754945484694,"filename":"image_16062025_12_08_25_10153.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d0965a9299313c2123191ad0a926dece.jpg","text":"TemporaryFile(/tmp/multipartBody9158077726643568684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754945484694,"filename":"image_16062025_12_08_44_10315.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b9fc805349c44d616ad95a915a24e977.jpg","text":"TemporaryFile(/tmp/multipartBody3570023709643922005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754945484694,"filename":"image_16062025_12_09_04_10227.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376513217","file1":"1376513152","file0":"1376513094","file4":"1376513317","file5":"1376513354","file3":"1376513281"},"map_files_photo_id_array":[{"photo_id":"1376513354","filename":"file5"},{"photo_id":"1376513217","filename":"file2"},{"photo_id":"1376513317","filename":"file4"},{"photo_id":"1376513152","filename":"file1"},{"photo_id":"1376513094","filename":"file0"},{"photo_id":"1376513281","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376513317":["hashtag1","hashtag2"]},{"1376513094":["hashtag1","hashtag2"]},{"1376513217":["hashtag1","hashtag2"]},{"1376513354":["hashtag1","hashtag2"]},{"1376513281":["hashtag1","hashtag2"]},{"1376513152":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376513317, 1376513094, 1376513217, 1376513354, 1376513281, 1376513152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.392863512039185 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:52:02.627509
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg', '/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg', '/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg
/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 150.01876640319824 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:55:03.218279
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg', '/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg', '/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg
/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 132.4716866016388 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 22:59:02.745470
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg', '/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg', '/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg
/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376516341","1376516344","1376516323","1376516329","1376516320","1376516325"],"photo_ids_order":["1376516320","1376516323","1376516325","1376516329","1376516341","1376516344"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/2394ae7462b421ad571bf29d517162b5.jpg","text":"TemporaryFile(/tmp/multipartBody3707241644519727909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946028134,"filename":"image_16062025_12_07_34_9946.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e84cb80696fa065f395cb33e92575643.jpg","text":"TemporaryFile(/tmp/multipartBody1892546481678444749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946028134,"filename":"image_16062025_12_07_24_9964.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/183c6dbe23fa6d1aa2263bd4120e3d22.jpg","text":"TemporaryFile(/tmp/multipartBody4879287001310576280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946028134,"filename":"image_16062025_12_08_04_10254.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8adb96527151bab51ecdee3ff1679b03.jpg","text":"TemporaryFile(/tmp/multipartBody5301226271884509920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946028134,"filename":"image_16062025_12_07_44_9952.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4e7b5356c1f2d94cdffa87ba95f00fc0.jpg","text":"TemporaryFile(/tmp/multipartBody897669681032801138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946028134,"filename":"image_16062025_12_08_15_10228.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3b05359700daf30c2cfdecbccb04ab45.jpg","text":"TemporaryFile(/tmp/multipartBody5705093092880631171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946028134,"filename":"image_16062025_12_07_54_9996.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376516325","file1":"1376516323","file0":"1376516320","file4":"1376516341","file5":"1376516344","file3":"1376516329"},"map_files_photo_id_array":[{"photo_id":"1376516344","filename":"file5"},{"photo_id":"1376516325","filename":"file2"},{"photo_id":"1376516341","filename":"file4"},{"photo_id":"1376516323","filename":"file1"},{"photo_id":"1376516320","filename":"file0"},{"photo_id":"1376516329","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376516341":["hashtag1","hashtag2"]},{"1376516344":["hashtag1","hashtag2"]},{"1376516323":["hashtag1","hashtag2"]},{"1376516329":["hashtag1","hashtag2"]},{"1376516320":["hashtag1","hashtag2"]},{"1376516325":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376516341, 1376516344, 1376516323, 1376516329, 1376516320, 1376516325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.40855646133423 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:01:02.952450
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/07/image_16062025_12_07_14_9928.jpg', 2), ('/mnt/data/16062025/12/06/image_16062025_12_07_04_10019.jpg', 2), ('/mnt/data/16062025/12/06/image_16062025_12_06_54_9978.jpg', 2), ('/mnt/data/16062025/12/06/image_16062025_12_06_44_9979.jpg', 2), ('/mnt/data/16062025/12/06/image_16062025_12_06_34_9978.jpg', 2), ('/mnt/data/16062025/12/06/image_16062025_12_06_24_9952.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/07/image_16062025_12_07_14_9928.jpg', '/mnt/data/16062025/12/06/image_16062025_12_07_04_10019.jpg', '/mnt/data/16062025/12/06/image_16062025_12_06_54_9978.jpg', '/mnt/data/16062025/12/06/image_16062025_12_06_44_9979.jpg', '/mnt/data/16062025/12/06/image_16062025_12_06_34_9978.jpg', '/mnt/data/16062025/12/06/image_16062025_12_06_24_9952.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/07/image_16062025_12_07_14_9928.jpg', '/mnt/data/16062025/12/06/image_16062025_12_07_04_10019.jpg', '/mnt/data/16062025/12/06/image_16062025_12_06_54_9978.jpg', '/mnt/data/16062025/12/06/image_16062025_12_06_44_9979.jpg', '/mnt/data/16062025/12/06/image_16062025_12_06_34_9978.jpg', '/mnt/data/16062025/12/06/image_16062025_12_06_24_9952.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/07/image_16062025_12_07_14_9928.jpg
/mnt/data/16062025/12/06/image_16062025_12_07_04_10019.jpg
/mnt/data/16062025/12/06/image_16062025_12_06_54_9978.jpg
/mnt/data/16062025/12/06/image_16062025_12_06_44_9979.jpg
/mnt/data/16062025/12/06/image_16062025_12_06_34_9978.jpg
/mnt/data/16062025/12/06/image_16062025_12_06_24_9952.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376516662","1376516545","1376516787","1376516589","1376516850","1376516724"],"photo_ids_order":["1376516545","1376516589","1376516662","1376516724","1376516787","1376516850"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/27b45e1057899d335ccc2b139d38444d.jpg","text":"TemporaryFile(/tmp/multipartBody3021630639119821003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946130811,"filename":"image_16062025_12_06_54_9978.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6ac0c57be3c52aa1eec5a6c294150a1d.jpg","text":"TemporaryFile(/tmp/multipartBody4184134833917801285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946130811,"filename":"image_16062025_12_07_14_9928.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f03b85efef63b07c25aa918fb230f1d3.jpg","text":"TemporaryFile(/tmp/multipartBody1178476812749597722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946130811,"filename":"image_16062025_12_06_34_9978.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/9e42dae3e2e62d6af904c857446dd254.jpg","text":"TemporaryFile(/tmp/multipartBody7094629288716497083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946130811,"filename":"image_16062025_12_07_04_10019.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f1c899139a28819fd4513494c40f0468.jpg","text":"TemporaryFile(/tmp/multipartBody320878238590082077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946130811,"filename":"image_16062025_12_06_24_9952.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/19ecb44d7e16959541962e24ce7a0a5f.jpg","text":"TemporaryFile(/tmp/multipartBody5487930474680314122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946130811,"filename":"image_16062025_12_06_44_9979.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376516662","file1":"1376516589","file0":"1376516545","file4":"1376516787","file5":"1376516850","file3":"1376516724"},"map_files_photo_id_array":[{"photo_id":"1376516850","filename":"file5"},{"photo_id":"1376516662","filename":"file2"},{"photo_id":"1376516787","filename":"file4"},{"photo_id":"1376516589","filename":"file1"},{"photo_id":"1376516545","filename":"file0"},{"photo_id":"1376516724","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376516662":["hashtag1","hashtag2"]},{"1376516545":["hashtag1","hashtag2"]},{"1376516787":["hashtag1","hashtag2"]},{"1376516589":["hashtag1","hashtag2"]},{"1376516850":["hashtag1","hashtag2"]},{"1376516724":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376516662, 1376516545, 1376516787, 1376516589, 1376516850, 1376516724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.836621046066284 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:02:02.973194
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', '/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', '/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg
/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 143.4884524345398 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:05:02.221455
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', '/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', '/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg
/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg
uploaded 0 photos
time to upload: 30.306954622268677 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:06:02.693013
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', '/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', '/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg
/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 5.261134624481201 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:07:02.618009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', '/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', '/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg
/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376520984","1376520980","1376520974","1376520977","1376520971","1376520982"],"photo_ids_order":["1376520971","1376520974","1376520977","1376520980","1376520982","1376520984"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/af7da4ec4dff1a1aea9f770db5dc2c41.jpg","text":"TemporaryFile(/tmp/multipartBody8634762609781289154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946500661,"filename":"image_16062025_12_05_24_10177.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8be27422350e5e125d28f2ba7fce1da7.jpg","text":"TemporaryFile(/tmp/multipartBody8265173913157506049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946500661,"filename":"image_16062025_12_05_44_9965.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/7e447205a68e38a07c7aa8825de45a27.jpg","text":"TemporaryFile(/tmp/multipartBody3238215903973817810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946500661,"filename":"image_16062025_12_06_04_10144.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4846939b2015087984c0f8e5e06d82e7.jpg","text":"TemporaryFile(/tmp/multipartBody6674347498136979181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946500661,"filename":"image_16062025_12_05_54_9959.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/d4b05fdb2b58d5427a44e405e3d35844.jpg","text":"TemporaryFile(/tmp/multipartBody3194190471609982043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946500661,"filename":"image_16062025_12_06_14_9966.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/bef7f3d7afac23c085952624f64941bf.jpg","text":"TemporaryFile(/tmp/multipartBody4574993029474016965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754946500661,"filename":"image_16062025_12_05_34_10020.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376520977","file1":"1376520974","file0":"1376520971","file4":"1376520982","file5":"1376520984","file3":"1376520980"},"map_files_photo_id_array":[{"photo_id":"1376520984","filename":"file5"},{"photo_id":"1376520977","filename":"file2"},{"photo_id":"1376520982","filename":"file4"},{"photo_id":"1376520974","filename":"file1"},{"photo_id":"1376520971","filename":"file0"},{"photo_id":"1376520980","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376520984":["hashtag1","hashtag2"]},{"1376520980":["hashtag1","hashtag2"]},{"1376520974":["hashtag1","hashtag2"]},{"1376520977":["hashtag1","hashtag2"]},{"1376520971":["hashtag1","hashtag2"]},{"1376520982":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376520984, 1376520980, 1376520974, 1376520977, 1376520971, 1376520982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.37698745727539 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:08:02.880227
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg
/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg
uploaded 0 photos
time to upload: 30.391125202178955 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:09:02.849866
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg
/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg
uploaded 0 photos
time to upload: 30.3272545337677 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:10:03.035221
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg
/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg
uploaded 0 photos
time to upload: 30.321154832839966 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:11:02.817734
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg
/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg
uploaded 0 photos
time to upload: 4.111195087432861 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:12:03.019500
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg
/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg
uploaded 0 photos
time to upload: 30.2930006980896 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:13:02.695239
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg
/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg
uploaded 0 photos
time to upload: 30.304277181625366 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:14:02.869226
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg
/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg
uploaded 0 photos
time to upload: 30.29174518585205 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:15:02.556169
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg
/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg
uploaded 0 photos
time to upload: 30.327237129211426 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:16:02.709236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg
/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376526575","1376526632","1376526635","1376526542","1376526595","1376526407"],"photo_ids_order":["1376526407","1376526542","1376526575","1376526595","1376526632","1376526635"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/3aee58b431b11e8894d976aefe2d370d.jpg","text":"TemporaryFile(/tmp/multipartBody8274071228698333153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754947035649,"filename":"image_16062025_12_04_55_10155.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/74eb0d49a4c531ce81da298be84566b5.jpg","text":"TemporaryFile(/tmp/multipartBody5061537141739199952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754947035649,"filename":"image_16062025_12_04_34_10298.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f839656c005fb71544acd36cfcc3ad7b.jpg","text":"TemporaryFile(/tmp/multipartBody8099688007885478502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754947035649,"filename":"image_16062025_12_04_24_9126.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/501557abf41f237dcaffb7cd42e83801.jpg","text":"TemporaryFile(/tmp/multipartBody303488912909057345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754947035649,"filename":"image_16062025_12_05_04_9270.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/25515e54a6a1f12c20b9d38850a356c4.jpg","text":"TemporaryFile(/tmp/multipartBody3571306535253118993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754947035649,"filename":"image_16062025_12_04_44_10150.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/93c89a2c41a9b950e50b9d98a231247a.jpg","text":"TemporaryFile(/tmp/multipartBody8893581897914825237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754947035649,"filename":"image_16062025_12_05_14_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376526575","file1":"1376526542","file0":"1376526407","file4":"1376526632","file5":"1376526635","file3":"1376526595"},"map_files_photo_id_array":[{"photo_id":"1376526635","filename":"file5"},{"photo_id":"1376526575","filename":"file2"},{"photo_id":"1376526632","filename":"file4"},{"photo_id":"1376526542","filename":"file1"},{"photo_id":"1376526407","filename":"file0"},{"photo_id":"1376526595","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376526575":["hashtag1","hashtag2"]},{"1376526632":["hashtag1","hashtag2"]},{"1376526635":["hashtag1","hashtag2"]},{"1376526542":["hashtag1","hashtag2"]},{"1376526595":["hashtag1","hashtag2"]},{"1376526407":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376526575, 1376526632, 1376526635, 1376526542, 1376526595, 1376526407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.17050385475159 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:17:02.657680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.383240222930908 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:18:02.761052
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.311268091201782 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:19:03.531187
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.30534529685974 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:20:02.783604
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.31697177886963 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:21:02.405885
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.29583978652954 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:22:02.656885
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.31471538543701 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:23:02.229945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.31479787826538 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:24:02.741416
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.29897904396057 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:25:02.702606
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.31731343269348 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:26:02.724524
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.53681993484497 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:27:02.570145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.32229781150818 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:28:02.540326
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.348226070404053 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:29:02.615676
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.31224226951599 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:30:02.803264
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.29389214515686 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:31:02.439748
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 4.72078800201416 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:32:02.662437
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
uploaded 0 photos
time to upload: 30.30612587928772 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:33:02.497670
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376527289","1376527308","1376527279","1376527264","1376527306","1376527303"],"photo_ids_order":["1376527264","1376527279","1376527289","1376527303","1376527306","1376527308"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/c166fb41cb1cead9606b1050aca50ebe.jpg","text":"TemporaryFile(/tmp/multipartBody4124765973204061667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754948070619,"filename":"image_16062025_12_03_54_10104.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/1d1ab53d70c17b74a414895573a4684b.jpg","text":"TemporaryFile(/tmp/multipartBody3756318006531446213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754948070619,"filename":"image_16062025_12_03_24_10104.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/ecb2e5cbd785bf71d17e4b64f62e42b7.jpg","text":"TemporaryFile(/tmp/multipartBody1802619400518186146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754948070619,"filename":"image_16062025_12_04_05_10271.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/f87a80d2e83f0912923ac00c68fb5f1f.jpg","text":"TemporaryFile(/tmp/multipartBody5858848055967326060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754948070619,"filename":"image_16062025_12_04_15_10253.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0a752bb7d1be9acc0f8535df0c03379a.jpg","text":"TemporaryFile(/tmp/multipartBody3880781569913544283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754948070619,"filename":"image_16062025_12_03_34_10223.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/6e06f630574832f11a63989b6ae98585.jpg","text":"TemporaryFile(/tmp/multipartBody7987311285288401501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754948070619,"filename":"image_16062025_12_03_44_10222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376527289","file1":"1376527279","file0":"1376527264","file4":"1376527306","file5":"1376527308","file3":"1376527303"},"map_files_photo_id_array":[{"photo_id":"1376527308","filename":"file5"},{"photo_id":"1376527289","filename":"file2"},{"photo_id":"1376527306","filename":"file4"},{"photo_id":"1376527279","filename":"file1"},{"photo_id":"1376527264","filename":"file0"},{"photo_id":"1376527303","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376527289":["hashtag1","hashtag2"]},{"1376527308":["hashtag1","hashtag2"]},{"1376527279":["hashtag1","hashtag2"]},{"1376527264":["hashtag1","hashtag2"]},{"1376527306":["hashtag1","hashtag2"]},{"1376527303":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376527289, 1376527308, 1376527279, 1376527264, 1376527306, 1376527303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.08441591262817 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:35:03.269869
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg
/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 135.4679102897644 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:38:02.120111
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg
/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg
uploaded 0 photos
time to upload: 30.296812295913696 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:39:03.046303
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg
/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg
uploaded 0 photos
time to upload: 30.309938192367554 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:40:02.848491
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg
/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg
uploaded 0 photos
time to upload: 31.843050956726074 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:41:02.718433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg
/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg
uploaded 0 photos
time to upload: 30.30603265762329 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:42:02.961783
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg
/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg
uploaded 0 photos
time to upload: 30.326233625411987 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:43:02.843057
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg
/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg
uploaded 0 photos
time to upload: 30.320841550827026 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:44:02.121721
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg
/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg
uploaded 0 photos
time to upload: 30.31047248840332 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:45:03.083889
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg
/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg
uploaded 0 photos
time to upload: 30.32381558418274 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:46:02.491137
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg
/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376527895","1376527898","1376527871","1376527862","1376527901","1376527904"],"photo_ids_order":["1376527862","1376527871","1376527895","1376527898","1376527901","1376527904"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/a9085504346d46df57b21ca3a4742034.jpg","text":"TemporaryFile(/tmp/multipartBody1608120676074805057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754948840978,"filename":"image_16062025_12_02_55_10225.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/8cd1051d542792b9798a1a80e3cf47a3.jpg","text":"TemporaryFile(/tmp/multipartBody8930299017795218064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754948840978,"filename":"image_16062025_12_02_45_10274.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/019bc04ebe5b99abb7a6cf78f9c93de0.jpg","text":"TemporaryFile(/tmp/multipartBody13734736046194115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754948840978,"filename":"image_16062025_12_03_04_9082.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e225ec0593fd9d14aa2a40dfe9b5177b.jpg","text":"TemporaryFile(/tmp/multipartBody8400393536460379651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754948840978,"filename":"image_16062025_12_03_14_9745.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/b14a5de6b49124bafa255c2971cc6c35.jpg","text":"TemporaryFile(/tmp/multipartBody7962675560188282646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754948840978,"filename":"image_16062025_12_02_34_10176.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/5e642f4cd7bcdf789f280fe6965ae61f.jpg","text":"TemporaryFile(/tmp/multipartBody5091158202707397326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754948840978,"filename":"image_16062025_12_02_24_10122.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376527895","file1":"1376527871","file0":"1376527862","file4":"1376527901","file5":"1376527904","file3":"1376527898"},"map_files_photo_id_array":[{"photo_id":"1376527904","filename":"file5"},{"photo_id":"1376527895","filename":"file2"},{"photo_id":"1376527901","filename":"file4"},{"photo_id":"1376527871","filename":"file1"},{"photo_id":"1376527862","filename":"file0"},{"photo_id":"1376527898","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376527895":["hashtag1","hashtag2"]},{"1376527898":["hashtag1","hashtag2"]},{"1376527871":["hashtag1","hashtag2"]},{"1376527862":["hashtag1","hashtag2"]},{"1376527901":["hashtag1","hashtag2"]},{"1376527904":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376527895, 1376527898, 1376527871, 1376527862, 1376527901, 1376527904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.2223060131073 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:47:02.911008
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg', '/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg', '/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg
/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg
uploaded 0 photos
time to upload: 30.373828172683716 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:48:02.496941
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg', '/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg', '/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg
/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg
after data_to_send, before sending request
begin to post requests
after request
uploaded 0 photos
time to upload: 23.880768537521362 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:49:02.527031
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg', '/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg', '/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg
/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376528015","1376528041","1376528011","1376528005","1376528008","1376528028"],"photo_ids_order":["1376528005","1376528008","1376528011","1376528015","1376528028","1376528041"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/33ffd897c1917d64ecf9f83603f2dedf.jpg","text":"TemporaryFile(/tmp/multipartBody3534690156059702888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754949021563,"filename":"image_16062025_12_01_44_10114.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/eff320d965fafd85aaeaf6dd1bc07c3e.jpg","text":"TemporaryFile(/tmp/multipartBody2054044706081625428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754949021563,"filename":"image_16062025_12_01_24_9975.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/485d528967388f977e1a7880aa979abc.jpg","text":"TemporaryFile(/tmp/multipartBody6456942765766188557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754949021563,"filename":"image_16062025_12_01_55_10142.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/e012b339931538498846352a26d1f66d.jpg","text":"TemporaryFile(/tmp/multipartBody2160854862956466507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754949021563,"filename":"image_16062025_12_02_14_10146.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/4f6fa936d3c0a05619fa3942321ea311.jpg","text":"TemporaryFile(/tmp/multipartBody4855351790810734523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754949021563,"filename":"image_16062025_12_02_04_9260.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/71848a0c9fb9d25179f2e1e6cde9baa4.jpg","text":"TemporaryFile(/tmp/multipartBody7403476200518495460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754949021563,"filename":"image_16062025_12_01_34_9973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376528011","file1":"1376528008","file0":"1376528005","file4":"1376528028","file5":"1376528041","file3":"1376528015"},"map_files_photo_id_array":[{"photo_id":"1376528041","filename":"file5"},{"photo_id":"1376528011","filename":"file2"},{"photo_id":"1376528028","filename":"file4"},{"photo_id":"1376528008","filename":"file1"},{"photo_id":"1376528005","filename":"file0"},{"photo_id":"1376528015","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376528015":["hashtag1","hashtag2"]},{"1376528041":["hashtag1","hashtag2"]},{"1376528011":["hashtag1","hashtag2"]},{"1376528005":["hashtag1","hashtag2"]},{"1376528008":["hashtag1","hashtag2"]},{"1376528028":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376528015, 1376528041, 1376528011, 1376528005, 1376528008, 1376528028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.419872522354126 secondes ---
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:50:02.705244
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', '/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', '/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg
/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg
uploaded 0 photos
time to upload: 30.363313674926758 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:51:02.428512
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', '/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', '/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg
/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg
uploaded 0 photos
time to upload: 30.296473503112793 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:52:02.620688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', '/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', '/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg
/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 137.3965973854065 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:55:03.205622
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', '/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', '/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg
/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg
uploaded 0 photos
time to upload: 30.34662628173828 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:56:02.530891
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', '/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', '/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg
/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg
uploaded 0 photos
time to upload: 30.321516275405884 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
MMMMMM fin de la fonction upload
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 59 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v
2025-08-11 23:57:03.158064
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
debut du main YYYYYY
appel à la fonction d'upload
dans la fonction de sql
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg', 2)]
port id,  24047899
XXXXXXXXXXXXXXXXXXXXXXX
comportement raspi
FILES,  ['/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', '/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg']
batch 1
in upload media
 Upload medias :  ['/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', '/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg
/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1376528342","1376528330","1376528374","1376528335","1376528407","1376528331"],"photo_ids_order":["1376528330","1376528331","1376528335","1376528342","1376528374","1376528407"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/961cdbe77ffca2f954f827385cc8ea6b.jpg","text":"TemporaryFile(/tmp/multipartBody8600282590965960590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754949494276,"filename":"image_16062025_12_00_44_9957.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/50b099c3694ad3624de10e816495521b.jpg","text":"TemporaryFile(/tmp/multipartBody8752819384458786528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754949494276,"filename":"image_16062025_12_01_14_10148.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/0f91472482fe50649b175c8083ab3747.jpg","text":"TemporaryFile(/tmp/multipartBody5443296912345335850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754949494276,"filename":"image_16062025_12_00_34_9942.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/fb33586efda9df89e20aa290d7bfc788.jpg","text":"TemporaryFile(/tmp/multipartBody8689009974592161874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754949494276,"filename":"image_16062025_12_00_54_9964.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/59182998917b71fefa4ab04039781bd5.jpg","text":"TemporaryFile(/tmp/multipartBody2520072825640471527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754949494276,"filename":"image_16062025_12_00_24_9939.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/11/899d49f1136f593f495289ba6ab2c7b9.jpg","text":"TemporaryFile(/tmp/multipartBody8095984028205725683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1754949494276,"filename":"image_16062025_12_01_04_10108.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376528335","file1":"1376528331","file0":"1376528330","file4":"1376528374","file5":"1376528407","file3":"1376528342"},"map_files_photo_id_array":[{"photo_id":"1376528407","filename":"file5"},{"photo_id":"1376528335","filename":"file2"},{"photo_id":"1376528374","filename":"file4"},{"photo_id":"1376528331","filename":"file1"},{"photo_id":"1376528330","filename":"file0"},{"photo_id":"1376528342","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1376528342":["hashtag1","hashtag2"]},{"1376528330":["hashtag1","hashtag2"]},{"1376528374":["hashtag1","hashtag2"]},{"1376528335":["hashtag1","hashtag2"]},{"1376528407":["hashtag1","hashtag2"]},{"1376528331":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1376528342, 1376528330, 1376528374, 1376528335, 1376528407, 1376528331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.593610763549805 secondes ---
MMMMMM fin de la fonction upload
